diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 00:05:30 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 05:05:37 +0100 |
commit | 795d2dc23b16a678d60a681e906aa87c14478597 (patch) | |
tree | 7d472557a7b977713d0439753031f473351f6b20 | |
parent | bdd71abe5f34ca37612e17d912060f4dc9b94796 (diff) | |
download | ffmpeg-795d2dc23b16a678d60a681e906aa87c14478597.tar.gz |
nellymoserenc: Fix assignments in if()
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 4317e32032..0fdec2c3b5 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)); |