Commit f75ad603 authored by bcoudurier's avatar bcoudurier

add parenthesis, fix warning: qtrleenc.c:257: warning: suggest parentheses around && within ||

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11685 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5859feaa
...@@ -254,7 +254,7 @@ static int encode_frame(QtrleEncContext *s, AVFrame *p, uint8_t *buf) ...@@ -254,7 +254,7 @@ static int encode_frame(QtrleEncContext *s, AVFrame *p, uint8_t *buf)
bytestream_put_be32(&buf, 0); // CHUNK SIZE, patched later 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 bytestream_put_be16(&buf, 0); // header
else { else {
bytestream_put_be16(&buf, 8); // header bytestream_put_be16(&buf, 8); // header
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment