From: Daniel Verkamp Date: Tue, 20 Oct 2009 19:07:08 +0000 (+0000) Subject: Parenthesize correctly in TMV probe X-Git-Tag: v0.6~2853 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0319ba5e12e242a8c038fe7dbd07a4b9426ee959;p=platform%2Fupstream%2Flibav.git Parenthesize correctly in TMV probe Originally committed as revision 20335 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavformat/tmv.c b/libavformat/tmv.c index ab6a14f..aab42a6 100644 --- a/libavformat/tmv.c +++ b/libavformat/tmv.c @@ -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; }