libfaac: Fix assignments in if()
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 13 Jan 2013 23:03:09 +0000 (00:03 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 14 Jan 2013 04:05:27 +0000 (05:05 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/libfaac.c

index d922fdc..bf226af 100644 (file)
@@ -199,7 +199,7 @@ static int Faac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
 
     /* add current frame to the 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;
     }