Parenthesize correctly in TMV probe

Originally committed as revision 20335 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Daniel Verkamp 2009-10-20 19:07:08 +00:00
parent 2bc70a7681
commit 0319ba5e12
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}