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

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


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

 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 2874e37..0374426 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