diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-01-31 00:50:21 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-01-31 00:50:21 +0000 |
commit | 4a9dfdc1c9177482b8cc6909b10d0de12ef6fc3c (patch) | |
tree | 7fe63f898daeaec9b4d613f87574ba5da419c784 /libavcodec/qtrleenc.c | |
parent | d7742a7491fe18c66f2d9da698340191739b916f (diff) | |
download | ffmpeg-4a9dfdc1c9177482b8cc6909b10d0de12ef6fc3c.tar.gz |
add parenthesis, fix warning: qtrleenc.c:257: warning: suggest parentheses around && within ||
Originally committed as revision 11685 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/qtrleenc.c')
-rw-r--r-- | libavcodec/qtrleenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qtrleenc.c b/libavcodec/qtrleenc.c index 581a55b69a..2f41f3ce14 100644 --- a/libavcodec/qtrleenc.c +++ b/libavcodec/qtrleenc.c @@ -254,7 +254,7 @@ static int encode_frame(QtrleEncContext *s, AVFrame *p, uint8_t *buf) 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 |