Commit 65d6d403 authored by Kostya Shishkov's avatar Kostya Shishkov

Fix wrong logical operator which causes too relaxed checking in VC-1 test

format probe.
Spotted by Reimar Döffinger.

Originally committed as revision 19839 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 8466ab59
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment