[FFmpeg-cvslog] aacenc: 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:02:50 2013 +0100| [3e57b37ddb259f0127cde6e5e322d652cc369b2b] | committer: Michael Niedermayer

aacenc: Fix assignments in if()

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

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

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

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

diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c
index 383cb5a..d09d3fd 100644
--- a/libavcodec/aacenc.c
+++ b/libavcodec/aacenc.c
@@ -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;
     }
 



More information about the ffmpeg-cvslog mailing list