[FFmpeg-cvslog] libfaac: Fix assignments in if()

Michael Niedermayer git at videolan.org
Fri Jan 18 05:23:20 CET 2013


ffmpeg | branch: release/1.1 | Michael Niedermayer <michaelni at gmx.at> | Mon Jan 14 00:03:09 2013 +0100| [d39400fed75302324bab051c22e6d07fade5b4f2] | committer: Michael Niedermayer

libfaac: Fix assignments in if()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 68a25c64cda16e12ef3a051ff8661c71ef574683)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d39400fed75302324bab051c22e6d07fade5b4f2
---

 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;
     }
 



More information about the ffmpeg-cvslog mailing list