diff mpegaudiodecheader.h @ 8641:54e2916c25a5 libavcodec

Avoid allocating MPADecodeContext on stack. Instead move relevant fields into MPADecodeHeader and use it where appropriate.
author andoma
date Fri, 23 Jan 2009 12:09:32 +0000
parents 04423b2f6e0b
children e9d9d946f213
line wrap: on
line diff
--- a/mpegaudiodecheader.h	Fri Jan 23 06:33:04 2009 +0000
+++ b/mpegaudiodecheader.h	Fri Jan 23 12:09:32 2009 +0000
@@ -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 */