diff qtrleenc.c @ 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 2b72f9bc4f06
children 48759bfbd073
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