Browse code

Parenthesize correctly in TMV probe

Originally committed as revision 20335 to svn://svn.ffmpeg.org/ffmpeg/trunk

Daniel Verkamp authored on 2009/10/21 04:07:08
Showing 1 changed files
... ...
@@ -55,7 +55,8 @@ static int tmv_probe(AVProbeData *p)
55 55
                !p->buf[8] && // compression method
56 56
                 p->buf[9] && // char cols
57 57
                 p->buf[10])  // char rows
58
-        return AVPROBE_SCORE_MAX / (p->buf[9] == 40 && p->buf[10] == 25)? 1 : 4;
58
+        return AVPROBE_SCORE_MAX /
59
+            ((p->buf[9] == 40 && p->buf[10] == 25) ? 1 : 4);
59 60
     return 0;
60 61
 }
61 62