aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-14 00:02:50 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-20 23:04:18 +0100
commit3e57b37ddb259f0127cde6e5e322d652cc369b2b (patch)
tree59673eab95ca4f3017d703bdd58b8221fe73ac1e
parent04c74a339ff7ba6e535c9e197739da424cb0b3da (diff)
downloadffmpeg-3e57b37ddb259f0127cde6e5e322d652cc369b2b.tar.gz
aacenc: Fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 98fed59427cec17ce55ac137e7e250cff7db81cf) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/aacenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c
index 383cb5a7c1..d09d3fd23c 100644
--- a/libavcodec/aacenc.c
+++ b/libavcodec/aacenc.c
@@ -522,7 +522,7 @@ static int aac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
/* add current frame to queue */
if (frame) {
- if ((ret = ff_af_queue_add(&s->afq, frame) < 0))
+ if ((ret = ff_af_queue_add(&s->afq, frame)) < 0)
return ret;
}