diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-10-19 17:21:02 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-10-19 17:21:02 +0000 |
commit | 9adcccde0c9a712a8697e94efe3bbac6d64f46dc (patch) | |
tree | 55bf23ebdd7be66e26c0a07136ae4cbdec3b85dd /libavcodec/mpegaudio.h | |
parent | 8767fb4caddbae86a48a299d94d353bc82ea98a2 (diff) | |
download | ffmpeg-9adcccde0c9a712a8697e94efe3bbac6d64f46dc.tar.gz |
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.
Originally committed as revision 20314 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudio.h')
-rw-r--r-- | libavcodec/mpegaudio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpegaudio.h b/libavcodec/mpegaudio.h index cd10dbcfc0..6f1940141e 100644 --- a/libavcodec/mpegaudio.h +++ b/libavcodec/mpegaudio.h @@ -137,6 +137,7 @@ typedef struct HuffTable { 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, |