Parenthesize correctly in TMV probe

Originally committed as revision 20335 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Daniel Verkamp 15 years ago
parent 2bc70a7681
commit 0319ba5e12
  1. 3
      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;
}

Loading…
Cancel
Save