diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 00:05:30 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-20 23:04:29 +0100 |
commit | 1489e67072b7f276f9be3b1b71ffb239712fdf31 (patch) | |
tree | 5ee1ea5a4a354f735757a86f3ec3c8400fc331a4 | |
parent | 2ff4257e642a59fa97c149353a5bfbeb46567327 (diff) | |
download | ffmpeg-1489e67072b7f276f9be3b1b71ffb239712fdf31.tar.gz |
nellymoserenc: Fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 795d2dc23b16a678d60a681e906aa87c14478597)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/nellymoserenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/nellymoserenc.c b/libavcodec/nellymoserenc.c index 2b96d47580..525ad8e1b0 100644 --- a/libavcodec/nellymoserenc.c +++ b/libavcodec/nellymoserenc.c @@ -397,7 +397,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *avpkt, if (frame->nb_samples >= NELLY_BUF_LEN) s->last_frame = 1; } - if ((ret = ff_af_queue_add(&s->afq, frame) < 0)) + if ((ret = ff_af_queue_add(&s->afq, frame)) < 0) return ret; } else { memset(s->buf + NELLY_BUF_LEN, 0, NELLY_SAMPLES * sizeof(*s->buf)); |