[FFmpeg-devel] [PATCH 03/16] libfaac: Fix assignments in if()

Michael Niedermayer michaelni at gmx.at
Mon Jan 14 00:20:12 CET 2013


Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 libavcodec/libfaac.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/libfaac.c b/libavcodec/libfaac.c
index d922fdc..bf226af 100644
--- a/libavcodec/libfaac.c
+++ b/libavcodec/libfaac.c
@@ -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;
     }
 
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list