diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 00:06:07 +0100 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-01-14 13:12:49 +0200 |
commit | 30aeada3d8e94682035da15bca28dd6dce6bc3a8 (patch) | |
tree | db0a9a6077e036baed186c1efaf6d45eaf55fcf4 /libavcodec/svq1enc.c | |
parent | 1d7ffd06e41e44d8932d0dd62caa2da17947d8c4 (diff) | |
download | ffmpeg-30aeada3d8e94682035da15bca28dd6dce6bc3a8.tar.gz |
svq1enc: Fix assignments in if()
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/svq1enc.c')
-rw-r--r-- | libavcodec/svq1enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/svq1enc.c b/libavcodec/svq1enc.c index 21531f636d..5a80868139 100644 --- a/libavcodec/svq1enc.c +++ b/libavcodec/svq1enc.c @@ -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; } |