[FFmpeg-cvslog] nellymoserenc: Fix assignments in if()
Michael Niedermayer
git at videolan.org
Fri Jan 18 05:23:21 CET 2013
ffmpeg | branch: release/1.1 | Michael Niedermayer <michaelni at gmx.at> | Mon Jan 14 00:05:30 2013 +0100| [ab471e17e444fbbd0ae48ac35dbb2d13ed06be62] | committer: Michael Niedermayer
nellymoserenc: Fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 795d2dc23b16a678d60a681e906aa87c14478597)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ab471e17e444fbbd0ae48ac35dbb2d13ed06be62
---
libavcodec/nellymoserenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/nellymoserenc.c b/libavcodec/nellymoserenc.c
index 4317e32..0fdec2c 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));
More information about the ffmpeg-cvslog
mailing list