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
release/0.6
Kostya Shishkov 16 years ago
parent 8466ab59b2
commit 65d6d40350
  1. 2
      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;

Loading…
Cancel
Save