Commit 64f48169 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/mp3dec: 4x faster probing

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 557571ff
...@@ -67,6 +67,8 @@ static int mp3_read_probe(AVProbeData *p) ...@@ -67,6 +67,8 @@ static int mp3_read_probe(AVProbeData *p)
for(; buf < end; buf= buf2+1) { for(; buf < end; buf= buf2+1) {
buf2 = buf; buf2 = buf;
if(ff_mpa_check_header(AV_RB32(buf2)))
continue;
for(frames = 0; buf2 < end; frames++) { for(frames = 0; buf2 < end; frames++) {
header = AV_RB32(buf2); header = AV_RB32(buf2);
......
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