diff options
author | Andreas Öman <andreas@lonelycoder.com> | 2009-01-23 12:09:32 +0000 |
---|---|---|
committer | Andreas Öman <andreas@lonelycoder.com> | 2009-01-23 12:09:32 +0000 |
commit | cf92cec7d8899ef887869628c66da30737ee54af (patch) | |
tree | b3bb20c478aad380efa29fc33b2980bf3e04a36c /libavcodec/mpegaudiodecheader.c | |
parent | 2d4eeaadc41a0adf97d6b71677d014833df432e2 (diff) | |
download | ffmpeg-cf92cec7d8899ef887869628c66da30737ee54af.tar.gz |
Avoid allocating MPADecodeContext on stack.
Instead move relevant fields into MPADecodeHeader and use it
where appropriate.
Originally committed as revision 16728 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudiodecheader.c')
-rw-r--r-- | libavcodec/mpegaudiodecheader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegaudiodecheader.c b/libavcodec/mpegaudiodecheader.c index 2e5168e05d..807d6244dc 100644 --- a/libavcodec/mpegaudiodecheader.c +++ b/libavcodec/mpegaudiodecheader.c @@ -30,7 +30,7 @@ #include "mpegaudiodata.h" -int ff_mpegaudio_decode_header(MPADecodeContext *s, uint32_t header) +int ff_mpegaudio_decode_header(MPADecodeHeader *s, uint32_t header) { int sample_rate, frame_size, mpeg25, padding; int sample_rate_index, bitrate_index; |