Mercurial > libavformat.hg
changeset 5322:d09cb951c704 libavformat
Parenthesize correctly in TMV probe
author | daniel |
---|---|
date | Tue, 20 Oct 2009 19:07:08 +0000 |
parents | a4a45f236eec |
children | ed61c8ab8b08 |
files | tmv.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tmv.c Tue Oct 20 15:27:05 2009 +0000 +++ b/tmv.c Tue Oct 20 19:07:08 2009 +0000 @@ -55,7 +55,8 @@ !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; }