Commit a7b89534 authored by reynaldo's avatar reynaldo

Fix wrong comparision in r20304

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20305 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 044140bc
...@@ -62,7 +62,7 @@ static int mtv_probe(AVProbeData *p) ...@@ -62,7 +62,7 @@ static int mtv_probe(AVProbeData *p)
return 0; return 0;
/* If width or height are 0 then imagesize header field should not */ /* If width or height are 0 then imagesize header field should not */
if(AV_RL16(&p->buf[52]) && AV_RL16(&p->buf[54])) if(!AV_RL16(&p->buf[52]) || !AV_RL16(&p->buf[54]))
{ {
if(!!AV_RL16(&p->buf[56])) if(!!AV_RL16(&p->buf[56]))
return AVPROBE_SCORE_MAX/2; 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