diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 00:04:25 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 05:05:33 +0100 |
commit | 3b8d66d5317d91288751869206b3acbb84dc44c7 (patch) | |
tree | 4202a1f83a8282da1e4ecce07fea0eaca7bb7b93 /libavcodec/libspeexenc.c | |
parent | d6180aa29741334cf69f691b27ffceb33f49d36a (diff) | |
download | ffmpeg-3b8d66d5317d91288751869206b3acbb84dc44c7.tar.gz |
libspeexenc: Fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 7dfc6d333c..23ebe72dad 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 */ |