Mercurial > libavcodec.hg
changeset 6204:2265a9c096a4 libavcodec
add parenthesis, fix warning: qtrleenc.c:257: warning: suggest parentheses around && within ||
author | bcoudurier |
---|---|
date | Thu, 31 Jan 2008 00:50:21 +0000 |
parents | c9433472cb95 |
children | b329d2bf8ff5 |
files | qtrleenc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/qtrleenc.c Thu Jan 31 00:15:24 2008 +0000 +++ b/qtrleenc.c Thu Jan 31 00:50:21 2008 +0000 @@ -254,7 +254,7 @@ bytestream_put_be32(&buf, 0); // CHUNK SIZE, patched later - if (start_line == 0 && end_line == s->avctx->height || start_line == s->avctx->height) + if ((start_line == 0 && end_line == s->avctx->height) || start_line == s->avctx->height) bytestream_put_be16(&buf, 0); // header else { bytestream_put_be16(&buf, 8); // header