Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
8640:ad979489c6e7 | 8641:54e2916c25a5 |
---|---|
32 | 32 |
33 | 33 |
34 /* header decoding. MUST check the header before because no | 34 /* header decoding. MUST check the header before because no |
35 consistency check is done there. Return 1 if free format found and | 35 consistency check is done there. Return 1 if free format found and |
36 that the frame size must be computed externally */ | 36 that the frame size must be computed externally */ |
37 int ff_mpegaudio_decode_header(MPADecodeContext *s, uint32_t header); | 37 int ff_mpegaudio_decode_header(MPADecodeHeader *s, uint32_t header); |
38 | 38 |
39 #endif /* AVCODEC_MPEGAUDIODECHEADER_H */ | 39 #endif /* AVCODEC_MPEGAUDIODECHEADER_H */ |