aboutsummaryrefslogtreecommitdiffstats
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-20 23:04:24 +0100
commit57211d8a5f5db3d10d136a41e9f169ca291d369c (patch)
treeee4c9692a42a93edbf8232d01e752a33a577f06e /libavcodec/libopencore-amr.c
parent3daa086b2eb41ab70075adae52ed1805422228fe (diff)
downloadffmpeg-57211d8a5f5db3d10d136a41e9f169ca291d369c.tar.gz
libopencore-amr: Fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit d6180aa29741334cf69f691b27ffceb33f49d36a) 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 aa6dfa62ec..9a096f3d09 100644
--- a/libavcodec/libopencore-amr.c
+++ b/libavcodec/libopencore-amr.c
@@ -258,7 +258,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;
}