OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8466ab5
)
Fix wrong logical operator which causes too relaxed checking in VC-1 test
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Mon, 14 Sep 2009 17:05:13 +0000
(17:05 +0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Mon, 14 Sep 2009 17:05:13 +0000
(17:05 +0000)
format probe.
Spotted by Reimar Döffinger.
Originally committed as revision 19839 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/vc1test.c
patch
|
blob
|
history
diff --git
a/libavformat/vc1test.c
b/libavformat/vc1test.c
index
007c3a1
..
861846c
100644
(file)
--- a/
libavformat/vc1test.c
+++ b/
libavformat/vc1test.c
@@
-33,7
+33,7
@@
static int vc1t_probe(AVProbeData *p)
{
- if (p->buf[3] != 0xC5
&&
AV_RL32(&p->buf[4]) != 4)
+ if (p->buf[3] != 0xC5
||
AV_RL32(&p->buf[4]) != 4)
return 0;
return AVPROBE_SCORE_MAX/2;