Commit 46fc4890 authored by michael's avatar michael

make mpa_decode_header() 10 times faster


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6101 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3abe27dd
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment