Skip to content
Snippets Groups Projects
Commit 30aeada3 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Martin Storsjö
Browse files

svq1enc: Fix assignments in if()

parent 1d7ffd06
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment