# HG changeset patch # User kostya # Date 1252947913 0 # Node ID 951c95954c9c6cacadf543df73db83fc93507f4e # Parent 36225b62e09196dc4d260a6512e0c5fbcf6efd6d Fix wrong logical operator which causes too relaxed checking in VC-1 test format probe. Spotted by Reimar Dffinger. diff -r 36225b62e091 -r 951c95954c9c vc1test.c --- a/vc1test.c Mon Sep 14 15:44:05 2009 +0000 +++ b/vc1test.c Mon Sep 14 17:05:13 2009 +0000 @@ -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;