aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-14 00:03:38 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-20 23:04:23 +0100
commit3daa086b2eb41ab70075adae52ed1805422228fe (patch)
treea463ae2a56825bae88c443491cc32a21a94aa28b /libavcodec
parent6f2aa8adbf657bd7264d56f3b8f5a1feb111dc02 (diff)
downloadffmpeg-3daa086b2eb41ab70075adae52ed1805422228fe.tar.gz
libmp3lame: Fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 871b6ec01d27a74702b7cf1d61446709de037948) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libmp3lame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libmp3lame.c b/libavcodec/libmp3lame.c
index 427cacdf8e..55657e4be2 100644
--- a/libavcodec/libmp3lame.c
+++ b/libavcodec/libmp3lame.c
@@ -234,7 +234,7 @@ static int mp3lame_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
/* add current frame to the 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;
}