mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
avformat/mp3dec: 4x faster probing
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
557571ff7d
commit
64f4816915
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user