aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-14 00:05:42 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-20 23:04:30 +0100
commitf00a9f00034ca3e4b2e5a20a861df881982b0563 (patch)
treeb8fad245a3a65dafcef9af68531bc544829ac6b6 /libavcodec
parent1489e67072b7f276f9be3b1b71ffb239712fdf31 (diff)
downloadffmpeg-f00a9f00034ca3e4b2e5a20a861df881982b0563.tar.gz
ra144enc: Fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit e2704381e5f13f54506f69b7a05a05dc27ce1d7d) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/ra144enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ra144enc.c b/libavcodec/ra144enc.c
index e0fb827856..bdb1d9bfac 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;