aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-14 00:04:25 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-20 23:04:26 +0100
commitd7826b8b9b479e1fac8df593a407b8cc522db580 (patch)
tree9ea94dad0fe1b9b161bc0866780fbb72d8275725 /libavcodec
parent57211d8a5f5db3d10d136a41e9f169ca291d369c (diff)
downloadffmpeg-d7826b8b9b479e1fac8df593a407b8cc522db580.tar.gz
libspeexenc: Fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 3b8d66d5317d91288751869206b3acbb84dc44c7) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libspeexenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libspeexenc.c b/libavcodec/libspeexenc.c
index cd32630a01..50d8607a47 100644
--- a/libavcodec/libspeexenc.c
+++ b/libavcodec/libspeexenc.c
@@ -254,7 +254,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
speex_encode_stereo_int(samples, s->header.frame_size, &s->bits);
speex_encode_int(s->enc_state, samples, &s->bits);
s->pkt_frame_count++;
- if ((ret = ff_af_queue_add(&s->afq, frame) < 0))
+ if ((ret = ff_af_queue_add(&s->afq, frame)) < 0)
return ret;
} else {
/* handle end-of-stream */