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.h | |
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.h')
-rw-r--r-- | libavcodec/mpegaudiodecheader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegaudiodecheader.h b/libavcodec/mpegaudiodecheader.h index 09757817ff..b7775f6001 100644 --- a/libavcodec/mpegaudiodecheader.h +++ b/libavcodec/mpegaudiodecheader.h @@ -34,6 +34,6 @@ /* header decoding. MUST check the header before because no consistency check is done there. Return 1 if free format found and that the frame size must be computed externally */ -int ff_mpegaudio_decode_header(MPADecodeContext *s, uint32_t header); +int ff_mpegaudio_decode_header(MPADecodeHeader *s, uint32_t header); #endif /* AVCODEC_MPEGAUDIODECHEADER_H */ |