[SCM] libav/experimental: make mpa_decode_header() 10 times faster
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:50:17 UTC 2013
The following commit has been merged in the experimental branch:
commit d6bea62338ddd117a925d4a8d203caaf40a74b03
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Sat Aug 26 18:02:52 2006 +0000
make mpa_decode_header() 10 times faster
Originally committed as revision 6101 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index 6a305a6..684928a 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;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list