diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-09 01:45:24 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-09 01:45:24 +0100 |
commit | 64f48169159b4e1608a1d007ebb7dec15c0ffadd (patch) | |
tree | 1f504fb79bdd68d15a9c56ecdc560b9f0d9fa5c2 /libavformat | |
parent | 557571ff7db57a5d21aa02af924a7f8e1fd64854 (diff) | |
download | ffmpeg-64f48169159b4e1608a1d007ebb7dec15c0ffadd.tar.gz |
avformat/mp3dec: 4x faster probing
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mp3dec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c index 30ec7771fd..5d484e9090 100644 --- a/libavformat/mp3dec.c +++ b/libavformat/mp3dec.c @@ -67,6 +67,8 @@ static int mp3_read_probe(AVProbeData *p) for(; buf < end; buf= buf2+1) { buf2 = buf; + if(ff_mpa_check_header(AV_RB32(buf2))) + continue; for(frames = 0; buf2 < end; frames++) { header = AV_RB32(buf2); |