[Ffmpeg-cvslog] r6101 - trunk/libavcodec/mpegaudiodec.c

michael subversion
Sat Aug 26 20:02:53 CEST 2006


Author: michael
Date: Sat Aug 26 20:02:52 2006
New Revision: 6101

Modified:
   trunk/libavcodec/mpegaudiodec.c

Log:
make mpa_decode_header() 10 times faster


Modified: trunk/libavcodec/mpegaudiodec.c
==============================================================================
--- trunk/libavcodec/mpegaudiodec.c	(original)
+++ trunk/libavcodec/mpegaudiodec.c	Sat Aug 26 20:02:52 2006
@@ -1252,7 +1252,6 @@
 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;




More information about the ffmpeg-cvslog mailing list