Revision 4c57cde9

View differences:

libavcodec/ac3.c
241 241
 * note: This function must remain thread safe because it is called by the
242 242
 *       AVParser init code.
243 243
 */
244
av_cold void ac3_common_init(void)
244
av_cold void ff_ac3_common_init(void)
245 245
{
246 246
#if !CONFIG_HARDCODED_TABLES
247 247
    /* compute bin_to_band_tab from band_start_tab */
libavcodec/ac3.h
115 115
    EAC3_FRAME_TYPE_RESERVED
116 116
} EAC3FrameType;
117 117

  
118
void ac3_common_init(void);
118
void ff_ac3_common_init(void);
119 119

  
120 120
/**
121 121
 * Calculate the log power-spectral density of the input signal.
libavcodec/ac3dec.c
187 187
    AC3DecodeContext *s = avctx->priv_data;
188 188
    s->avctx = avctx;
189 189

  
190
    ac3_common_init();
190
    ff_ac3_common_init();
191 191
    ac3_tables_init();
192 192
    ff_mdct_init(&s->imdct_256, 8, 1, 1.0);
193 193
    ff_mdct_init(&s->imdct_512, 9, 1, 1.0);
libavcodec/ac3enc.c
1815 1815

  
1816 1816
    avctx->frame_size = AC3_FRAME_SIZE;
1817 1817

  
1818
    ac3_common_init();
1818
    ff_ac3_common_init();
1819 1819

  
1820 1820
    ret = validate_options(avctx, s);
1821 1821
    if (ret)

Also available in: Unified diff