mirror of https://git.ffmpeg.org/ffmpeg.git
Parenthesize correctly in TMV probe
Originally committed as revision 20335 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2bc70a7681
commit
0319ba5e12
|
@ -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…
Reference in New Issue