Commit 30aeada3 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Martin Storsjö

svq1enc: Fix assignments in if()

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 1d7ffd06
......@@ -540,7 +540,7 @@ static int svq1_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
if (!pkt->data &&
(ret = av_new_packet(pkt, s->y_block_width * s->y_block_height *
MAX_MB_BYTES * 3 + FF_MIN_BUFFER_SIZE) < 0)) {
MAX_MB_BYTES * 3 + FF_MIN_BUFFER_SIZE)) < 0) {
av_log(avctx, AV_LOG_ERROR, "Error getting output packet.\n");
return ret;
}
......
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