[FFmpeg-cvslog] libspeexenc: Fix assignments in if()
Michael Niedermayer
git at videolan.org
Fri Jan 18 05:23:20 CET 2013
ffmpeg | branch: release/1.1 | Michael Niedermayer <michaelni at gmx.at> | Mon Jan 14 00:04:25 2013 +0100| [65a4b90840a6f79c69be44b6f60bfa6f0dcc1612] | committer: Michael Niedermayer
libspeexenc: Fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 3b8d66d5317d91288751869206b3acbb84dc44c7)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=65a4b90840a6f79c69be44b6f60bfa6f0dcc1612
---
libavcodec/libspeexenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/libspeexenc.c b/libavcodec/libspeexenc.c
index 7dfc6d3..23ebe72 100644
--- a/libavcodec/libspeexenc.c
+++ b/libavcodec/libspeexenc.c
@@ -288,7 +288,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 */
More information about the ffmpeg-cvslog
mailing list