summaryrefslogtreecommitdiff
path: root/libavcodec/libopencore-amr.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-14 00:04:13 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-14 05:05:31 +0100
commitd6180aa29741334cf69f691b27ffceb33f49d36a (patch)
tree9eab8ac7839865d4f04b8fe86998899ae1cbbc08 /libavcodec/libopencore-amr.c
parent871b6ec01d27a74702b7cf1d61446709de037948 (diff)
downloadffmpeg-d6180aa29741334cf69f691b27ffceb33f49d36a.tar.gz
libopencore-amr: Fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/libopencore-amr.c')
-rw-r--r--libavcodec/libopencore-amr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c
index 550ef94491..0d78035e27 100644
--- a/libavcodec/libopencore-amr.c
+++ b/libavcodec/libopencore-amr.c
@@ -261,7 +261,7 @@ static int amr_nb_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
if (frame->nb_samples < avctx->frame_size - avctx->delay)
s->enc_last_frame = -1;
}
- if ((ret = ff_af_queue_add(&s->afq, frame) < 0)) {
+ if ((ret = ff_af_queue_add(&s->afq, frame)) < 0) {
av_freep(&flush_buf);
return ret;
}