mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
This commit is contained in:
parent
8466ab59b2
commit
65d6d40350
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
static int vc1t_probe(AVProbeData *p)
|
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 0;
|
||||||
|
|
||||||
return AVPROBE_SCORE_MAX/2;
|
return AVPROBE_SCORE_MAX/2;
|
||||||
|
Loading…
Reference in New Issue
Block a user