mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-19 09:02:26 +02:00
add parenthesis, fix warning: qtrleenc.c:257: warning: suggest parentheses around && within ||
Originally committed as revision 11685 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d7742a7491
commit
4a9dfdc1c9
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user