[FFmpeg-cvslog] libfdk-aacenc: 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:23 2013 +0100| [dacac91973e9f2c3b4e500f6efb47fb4f6f386f1] | committer: Michael Niedermayer

libfdk-aacenc: Fix assignments in if()

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

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

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

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

diff --git a/libavcodec/libfdk-aacenc.c b/libavcodec/libfdk-aacenc.c
index 196fcb5..06576aa 100644
--- a/libavcodec/libfdk-aacenc.c
+++ b/libavcodec/libfdk-aacenc.c
@@ -334,7 +334,7 @@ static int aac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
         in_buf.bufElSizes        = &in_buffer_element_size;
 
         /* add current frame to the queue */
-        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