projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69c262d
)
missdetected a broken mp3
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 2 Jan 2007 22:22:12 +0000
(22:22 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 2 Jan 2007 22:22:12 +0000
(22:22 +0000)
Originally committed as revision 7404 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/tiertexseq.c
patch
|
blob
|
history
diff --git
a/libavformat/tiertexseq.c
b/libavformat/tiertexseq.c
index
b1a39bf
..
8f56582
100644
(file)
--- a/
libavformat/tiertexseq.c
+++ b/
libavformat/tiertexseq.c
@@
-62,7
+62,7
@@
static int seq_probe(AVProbeData *p)
{
int i;
- if (p->buf_size < 25
6
)
+ if (p->buf_size < 25
8
)
return 0;
/* there's no real header in a .seq file, the only thing they have in common */
@@
-71,6
+71,9
@@
static int seq_probe(AVProbeData *p)
if (p->buf[i] != 0)
return 0;
+ if(p->buf[256]==0 && p->buf[257]==0)
+ return 0;
+
/* only one fourth of the score since the previous check is too naive */
return AVPROBE_SCORE_MAX / 4;
}