]> git.sesse.net Git - ffmpeg/commitdiff
ra144enc: Fix assignments in if()
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 13 Jan 2013 23:05:42 +0000 (00:05 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 14 Jan 2013 04:05:37 +0000 (05:05 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/ra144enc.c

index dd61ac1a5891c3e475dccc53f5e9ffa2283e252f..bbd7b68eabe8dc94a6416848360983045b9879f7 100644 (file)
@@ -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;