OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
650fd9c
)
avformat/bethsoftvid: check 4th header byte in probe
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 11 Nov 2013 16:26:03 +0000
(17:26 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 11 Nov 2013 16:50:51 +0000
(17:50 +0100)
Fixes probetest failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/bethsoftvid.c
patch
|
blob
|
history
diff --git
a/libavformat/bethsoftvid.c
b/libavformat/bethsoftvid.c
index
b8f08c1
..
6b84b79
100644
(file)
--- a/
libavformat/bethsoftvid.c
+++ b/
libavformat/bethsoftvid.c
@@
-61,6
+61,9
@@
static int vid_probe(AVProbeData *p)
if (AV_RL32(p->buf) != MKTAG('V', 'I', 'D', 0))
return 0;
+ if (p->buf[4] != 2)
+ return AVPROBE_SCORE_MAX / 4;
+
return AVPROBE_SCORE_MAX;
}