[FFmpeg-cvslog] r20335 - trunk/libavformat/tmv.c

daniel subversion
Tue Oct 20 21:07:08 CEST 2009


Author: daniel
Date: Tue Oct 20 21:07:08 2009
New Revision: 20335

Log:
Parenthesize correctly in TMV probe

Modified:
   trunk/libavformat/tmv.c

Modified: trunk/libavformat/tmv.c
==============================================================================
--- trunk/libavformat/tmv.c	Tue Oct 20 17:37:50 2009	(r20334)
+++ trunk/libavformat/tmv.c	Tue Oct 20 21:07:08 2009	(r20335)
@@ -55,7 +55,8 @@ static int tmv_probe(AVProbeData *p)
                !p->buf[8] && // compression method
                 p->buf[9] && // char cols
                 p->buf[10])  // char rows
-        return AVPROBE_SCORE_MAX / (p->buf[9] == 40 && p->buf[10] == 25)? 1 : 4;
+        return AVPROBE_SCORE_MAX /
+            ((p->buf[9] == 40 && p->buf[10] == 25) ? 1 : 4);
     return 0;
 }
 



More information about the ffmpeg-cvslog mailing list