[FFmpeg-cvslog] r20305 - trunk/libavformat/mtv.c

reynaldo subversion
Mon Oct 19 03:42:06 CEST 2009


Author: reynaldo
Date: Mon Oct 19 03:42:05 2009
New Revision: 20305

Log:
Fix wrong comparision in r20304

Modified:
   trunk/libavformat/mtv.c

Modified: trunk/libavformat/mtv.c
==============================================================================
--- trunk/libavformat/mtv.c	Mon Oct 19 01:56:00 2009	(r20304)
+++ trunk/libavformat/mtv.c	Mon Oct 19 03:42:05 2009	(r20305)
@@ -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;



More information about the ffmpeg-cvslog mailing list