aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-14 00:03:23 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-20 23:04:21 +0100
commit6f2aa8adbf657bd7264d56f3b8f5a1feb111dc02 (patch)
tree00a73f25e9cafca35af9d71ba1446d6a8e71f8de /libavcodec
parent28ef8eaeefe3d12436126eb615cf1e8076790cb5 (diff)
downloadffmpeg-6f2aa8adbf657bd7264d56f3b8f5a1feb111dc02.tar.gz
libfdk-aacenc: Fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 9302ad1ac89d5443505cf0418f9d62786513032e) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libfdk-aacenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libfdk-aacenc.c b/libavcodec/libfdk-aacenc.c
index 2874e3797c..03744266f1 100644
--- a/libavcodec/libfdk-aacenc.c
+++ b/libavcodec/libfdk-aacenc.c
@@ -334,7 +334,7 @@ static int aac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
in_buf.bufElSizes = &in_buffer_element_size;
/* 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;
}