Browse Source

Fix wrong comparison in r20304

Originally committed as revision 20305 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Reynaldo H. Verdejo Pinochet 16 years ago
parent
commit
cbd8a722bb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mtv.c

+ 1
- 1
libavformat/mtv.c View File

@@ -62,7 +62,7 @@ static int mtv_probe(AVProbeData *p)
return 0;

/* 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]))
return AVPROBE_SCORE_MAX/2;


Loading…
Cancel
Save