Browse Source

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
tags/v0.6
Kostya Shishkov 16 years ago
parent
commit
65d6d40350
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/vc1test.c

+ 1
- 1
libavformat/vc1test.c View File

@@ -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