git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
557571f
)
avformat/mp3dec: 4x faster probing
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 9 Nov 2013 00:45:24 +0000
(
01:45
+0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 9 Nov 2013 00:45:24 +0000
(
01:45
+0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mp3dec.c
patch
|
blob
|
history
diff --git
a/libavformat/mp3dec.c
b/libavformat/mp3dec.c
index
30ec777
..
5d484e9
100644
(file)
--- 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);