projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bc70a7
)
Parenthesize correctly in TMV probe
author
Daniel Verkamp
<daniel@drv.nu>
Tue, 20 Oct 2009 19:07:08 +0000
(19:07 +0000)
committer
Daniel Verkamp
<daniel@drv.nu>
Tue, 20 Oct 2009 19:07:08 +0000
(19:07 +0000)
Originally committed as revision 20335 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/tmv.c
patch
|
blob
|
history
diff --git
a/libavformat/tmv.c
b/libavformat/tmv.c
index
ab6a14f
..
aab42a6
100644
(file)
--- 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;
}