aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ra144enc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-14 00:02:50 +0100
committerMartin Storsjö <martin@martin.st>2013-01-14 13:12:44 +0200
commit1d7ffd06e41e44d8932d0dd62caa2da17947d8c4 (patch)
tree8f656b3c0117abea51e4613b37964c51de855cc1 /libavcodec/ra144enc.c
parent59d5680310084398dc6eb8fa62d56a7d1c9b85e0 (diff)
downloadffmpeg-1d7ffd06e41e44d8932d0dd62caa2da17947d8c4.tar.gz
lavc: Fix assignments in if() when calling ff_af_queue_add
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/ra144enc.c')
-rw-r--r--libavcodec/ra144enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ra144enc.c b/libavcodec/ra144enc.c
index 5b5de76434..b9473ac197 100644
--- a/libavcodec/ra144enc.c
+++ b/libavcodec/ra144enc.c
@@ -537,7 +537,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;