]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libopencore-amr.c
Merge commit '42d324694883cdf1fff1612ac70fa403692a1ad4'
[ffmpeg] / libavcodec / libopencore-amr.c
index 550ef94491ce2eb7cf9766062029c8fb28ef4254..0d78035e2718014037def2c020af767845282c76 100644 (file)
@@ -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;
         }