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

Michael Niedermayer git at videolan.org
Mon Jan 14 05:28:28 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jan 14 00:05:30 2013 +0100| [795d2dc23b16a678d60a681e906aa87c14478597] | committer: Michael Niedermayer

nellymoserenc: Fix assignments in if()

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

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

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

diff --git a/libavcodec/nellymoserenc.c b/libavcodec/nellymoserenc.c
index 4317e32..0fdec2c 100644
--- a/libavcodec/nellymoserenc.c
+++ b/libavcodec/nellymoserenc.c
@@ -397,7 +397,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
             if (frame->nb_samples >= NELLY_BUF_LEN)
                 s->last_frame = 1;
         }
-        if ((ret = ff_af_queue_add(&s->afq, frame) < 0))
+        if ((ret = ff_af_queue_add(&s->afq, frame)) < 0)
             return ret;
     } else {
         memset(s->buf + NELLY_BUF_LEN, 0, NELLY_SAMPLES * sizeof(*s->buf));



More information about the ffmpeg-cvslog mailing list