summaryrefslogtreecommitdiff
path: root/libavcodec/svq1enc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-14 00:06:07 +0100
committerMartin Storsjö <martin@martin.st>2013-01-14 13:12:49 +0200
commit30aeada3d8e94682035da15bca28dd6dce6bc3a8 (patch)
treedb0a9a6077e036baed186c1efaf6d45eaf55fcf4 /libavcodec/svq1enc.c
parent1d7ffd06e41e44d8932d0dd62caa2da17947d8c4 (diff)
downloadffmpeg-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.c2
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;
}