[FFmpeg-cvslog] ra144enc: 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:42 2013 +0100| [e2704381e5f13f54506f69b7a05a05dc27ce1d7d] | committer: Michael Niedermayer

ra144enc: Fix assignments in if()

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

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

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

diff --git a/libavcodec/ra144enc.c b/libavcodec/ra144enc.c
index dd61ac1..bbd7b68 100644
--- a/libavcodec/ra144enc.c
+++ b/libavcodec/ra144enc.c
@@ -536,7 +536,7 @@ static int ra144_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
         for (; i < frame->nb_samples; i++)
             ractx->curr_block[i] = samples[i] >> 2;
 
-        if ((ret = ff_af_queue_add(&ractx->afq, frame) < 0))
+        if ((ret = ff_af_queue_add(&ractx->afq, frame)) < 0)
             return ret;
     } else
         ractx->last_frame = 1;



More information about the ffmpeg-cvslog mailing list