diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 00:04:13 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 05:05:31 +0100 |
commit | d6180aa29741334cf69f691b27ffceb33f49d36a (patch) | |
tree | 9eab8ac7839865d4f04b8fe86998899ae1cbbc08 /libavcodec/libopencore-amr.c | |
parent | 871b6ec01d27a74702b7cf1d61446709de037948 (diff) | |
download | ffmpeg-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.c | 2 |
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; } |