diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 00:02:50 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-05-08 19:05:21 +0200 |
commit | 1ab4578c88dc3e1407da15471bd323ba40c3ebbb (patch) | |
tree | 76c3ebde8c64ad66aaef22bd2c31d6cbe30b360b /libavcodec/libspeexenc.c | |
parent | 52ab9e898485b370a4da46febb91e1ba50a1c357 (diff) | |
download | ffmpeg-1ab4578c88dc3e1407da15471bd323ba40c3ebbb.tar.gz |
lavc: Fix assignments in if() when calling ff_af_queue_add
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 1d7ffd06e41e44d8932d0dd62caa2da17947d8c4)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/libspeexenc.c')
-rw-r--r-- | libavcodec/libspeexenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libspeexenc.c b/libavcodec/libspeexenc.c index e30185a758..4277e62e4c 100644 --- a/libavcodec/libspeexenc.c +++ b/libavcodec/libspeexenc.c @@ -287,7 +287,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 */ |