aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-14 00:04:41 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-20 23:04:27 +0100
commit461907760fdf7a9f1c61bef5cb394f4c9c4c26f7 (patch)
treecf3006b7e3ddc291a2c75da7d8ae249f01e98ccb /libavcodec
parentd7826b8b9b479e1fac8df593a407b8cc522db580 (diff)
downloadffmpeg-461907760fdf7a9f1c61bef5cb394f4c9c4c26f7.tar.gz
libvo-aacenc: Fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 0ccb31dcad5a1543fbb284d66b0410b91ebd171d) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libvo-aacenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libvo-aacenc.c b/libavcodec/libvo-aacenc.c
index 3b7aca7386..531b40d24e 100644
--- a/libavcodec/libvo-aacenc.c
+++ b/libavcodec/libvo-aacenc.c
@@ -157,7 +157,7 @@ static int aac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
samples = (VO_PBYTE)frame->data[0];
}
/* add current frame to the queue */
- if ((ret = ff_af_queue_add(&s->afq, frame) < 0))
+ if ((ret = ff_af_queue_add(&s->afq, frame)) < 0)
return ret;
}