From 0319ba5e12e242a8c038fe7dbd07a4b9426ee959 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Tue, 20 Oct 2009 19:07:08 +0000 Subject: Parenthesize correctly in TMV probe Originally committed as revision 20335 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/tmv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavformat/tmv.c') diff --git a/libavformat/tmv.c b/libavformat/tmv.c index ab6a14f172..aab42a6184 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; } -- cgit v1.2.3