aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libopencore-amr.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-14 00:02:50 +0100
committerLuca Barbato <lu_zero@gentoo.org>2013-05-08 19:05:21 +0200
commit1ab4578c88dc3e1407da15471bd323ba40c3ebbb (patch)
tree76c3ebde8c64ad66aaef22bd2c31d6cbe30b360b /libavcodec/libopencore-amr.c
parent52ab9e898485b370a4da46febb91e1ba50a1c357 (diff)
downloadffmpeg-1ab4578c88dc3e1407da15471bd323ba40c3ebbb.tar.gz
lavc: Fix assignments in if() when calling ff_af_queue_add
Signed-off-by: Martin Storsjö <martin@martin.st> (cherry picked from commit 1d7ffd06e41e44d8932d0dd62caa2da17947d8c4) Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
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 fdd7de9c53..be98b1f93b 100644
--- a/libavcodec/libopencore-amr.c
+++ b/libavcodec/libopencore-amr.c
@@ -265,7 +265,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;
}