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

Michael Niedermayer git at videolan.org
Sun Jan 20 23:13:03 CET 2013


ffmpeg | branch: release/1.0 | Michael Niedermayer <michaelni at gmx.at> | Mon Jan 14 00:03:09 2013 +0100| [28ef8eaeefe3d12436126eb615cf1e8076790cb5] | 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=28ef8eaeefe3d12436126eb615cf1e8076790cb5
---

 libavcodec/libfaac.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/libfaac.c b/libavcodec/libfaac.c
index 0bfed1e..685d144 100644
--- a/libavcodec/libfaac.c
+++ b/libavcodec/libfaac.c
@@ -201,7 +201,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