mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-28 05:30:34 +00:00
make mpa_decode_header() 10 times faster
Originally committed as revision 6101 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
731d0b1aaa
commit
d6bea62338
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user