summaryrefslogtreecommitdiff
path: root/libavcodec/mpegaudiodecheader.h
diff options
context:
space:
mode:
authorAndreas Öman <andreas@lonelycoder.com>2009-01-23 12:09:32 +0000
committerAndreas Öman <andreas@lonelycoder.com>2009-01-23 12:09:32 +0000
commitcf92cec7d8899ef887869628c66da30737ee54af (patch)
treeb3bb20c478aad380efa29fc33b2980bf3e04a36c /libavcodec/mpegaudiodecheader.h
parent2d4eeaadc41a0adf97d6b71677d014833df432e2 (diff)
downloadffmpeg-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.h2
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 */