changeset 3637:1c32151e7a61 libavcodec

make mpa_decode_header() 10 times faster
author michael
date Sat, 26 Aug 2006 18:02:52 +0000
parents 031252e99956
children 62b3b622f798
files mpegaudiodec.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpegaudiodec.c	Sat Aug 26 17:29:31 2006 +0000
+++ b/mpegaudiodec.c	Sat Aug 26 18:02:52 2006 +0000
@@ -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;