summaryrefslogtreecommitdiff
path: root/libavformat/tmv.c
diff options
context:
space:
mode:
authorDaniel Verkamp <daniel@drv.nu>2009-10-20 19:07:08 +0000
committerDaniel Verkamp <daniel@drv.nu>2009-10-20 19:07:08 +0000
commit0319ba5e12e242a8c038fe7dbd07a4b9426ee959 (patch)
tree803aad7fcbb2a392a4dd95090f6d0e6278069277 /libavformat/tmv.c
parent2bc70a76811e7fae3e0ae2528b4abc9dfb4104a0 (diff)
Parenthesize correctly in TMV probe
Originally committed as revision 20335 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/tmv.c')
-rw-r--r--libavformat/tmv.c3
1 files changed, 2 insertions, 1 deletions
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;
}