summaryrefslogtreecommitdiff
path: root/libavcodec/mpegaudiodec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-08-26 18:02:52 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-08-26 18:02:52 +0000
commitd6bea62338ddd117a925d4a8d203caaf40a74b03 (patch)
tree2565df6f661580e34870e5ef131957799bd4d366 /libavcodec/mpegaudiodec.c
parent731d0b1aaac88ff289b59d73ae9d6f24846818a9 (diff)
make mpa_decode_header() 10 times faster
Originally committed as revision 6101 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r--libavcodec/mpegaudiodec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index 6a305a6e9f..684928a5ab 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -1252,7 +1252,6 @@ static int decode_header(MPADecodeContext *s, uint32_t header)
int mpa_decode_header(AVCodecContext *avctx, uint32_t head)
{
MPADecodeContext s1, *s = &s1;
- memset( s, 0, sizeof(MPADecodeContext) );
if (ff_mpa_check_header(head) != 0)
return -1;