summaryrefslogtreecommitdiff
path: root/libavformat/vc1test.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/vc1test.c')
-rw-r--r--libavformat/vc1test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/vc1test.c b/libavformat/vc1test.c
index 007c3a1a1e..861846c48a 100644
--- 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;