diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index 2c40ec91f5..348d3a20d2 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -517,7 +517,7 @@ static int aac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, /* add current frame to queue */ if (frame) { - if ((ret = ff_af_queue_add(&s->afq, frame) < 0)) + if ((ret = ff_af_queue_add(&s->afq, frame)) < 0) return ret; }