Revision da0ac0ee libavcodec/mpegaudiodec.c

View differences:

libavcodec/mpegaudiodec.c
101 101
 * Convert region offsets to region sizes and truncate
102 102
 * size to big_values.
103 103
 */
104
void ff_region_offset2size(GranuleDef *g){
104
static void ff_region_offset2size(GranuleDef *g){
105 105
    int i, k, j=0;
106 106
    g->region_size[2] = (576 / 2);
107 107
    for(i=0;i<3;i++) {
......
111 111
    }
112 112
}
113 113

  
114
void ff_init_short_region(MPADecodeContext *s, GranuleDef *g){
114
static void ff_init_short_region(MPADecodeContext *s, GranuleDef *g){
115 115
    if (g->block_type == 2)
116 116
        g->region_size[0] = (36 / 2);
117 117
    else {
......
125 125
    g->region_size[1] = (576 / 2);
126 126
}
127 127

  
128
void ff_init_long_region(MPADecodeContext *s, GranuleDef *g, int ra1, int ra2){
128
static void ff_init_long_region(MPADecodeContext *s, GranuleDef *g, int ra1, int ra2){
129 129
    int l;
130 130
    g->region_size[0] =
131 131
        band_index_long[s->sample_rate_index][ra1 + 1] >> 1;
......
135 135
        band_index_long[s->sample_rate_index][l] >> 1;
136 136
}
137 137

  
138
void ff_compute_band_indexes(MPADecodeContext *s, GranuleDef *g){
138
static void ff_compute_band_indexes(MPADecodeContext *s, GranuleDef *g){
139 139
    if (g->block_type == 2) {
140 140
        if (g->switch_point) {
141 141
            /* if switched mode, we handle the 36 first samples as

Also available in: Unified diff