Mercurial > libavcodec.hg
diff mpegaudio.h @ 10440:899237b1961f libavcodec
mpegaudiodec, mpc and qdm2 all use the same mpa_synth window, so make
them use the same variable/global storage.
Saves 4 kB in .bss.
author | reimar |
---|---|
date | Mon, 19 Oct 2009 17:21:02 +0000 |
parents | beb616cf1885 |
children | ead8d96926c4 |
line wrap: on
line diff
--- a/mpegaudio.h Mon Oct 19 15:51:34 2009 +0000 +++ b/mpegaudio.h Mon Oct 19 17:21:02 2009 +0000 @@ -137,6 +137,7 @@ int ff_mpa_l2_select_table(int bitrate, int nb_channels, int freq, int lsf); int ff_mpa_decode_header(AVCodecContext *avctx, uint32_t head, int *sample_rate, int *channels, int *frame_size, int *bitrate); +extern MPA_INT ff_mpa_synth_window[]; void ff_mpa_synth_init(MPA_INT *window); void ff_mpa_synth_filter(MPA_INT *synth_buf_ptr, int *synth_buf_offset, MPA_INT *window, int *dither_state,