aacenc: Fix assignments in if()
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 13 Jan 2013 23:02:50 +0000 (00:02 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 20 Jan 2013 22:04:18 +0000 (23:04 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 98fed59427cec17ce55ac137e7e250cff7db81cf)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/aacenc.c

index 383cb5a..d09d3fd 100644 (file)
@@ -522,7 +522,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;
     }