Commit 0cf8b755 authored by kostya's avatar kostya

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

format probe.
Spotted by Reimar Döffinger.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19839 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 48abd2a3
......@@ -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