diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 00:02:50 +0100 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-01-14 13:12:44 +0200 |
commit | 1d7ffd06e41e44d8932d0dd62caa2da17947d8c4 (patch) | |
tree | 8f656b3c0117abea51e4613b37964c51de855cc1 /libavcodec/nellymoserenc.c | |
parent | 59d5680310084398dc6eb8fa62d56a7d1c9b85e0 (diff) | |
download | ffmpeg-1d7ffd06e41e44d8932d0dd62caa2da17947d8c4.tar.gz |
lavc: Fix assignments in if() when calling ff_af_queue_add
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/nellymoserenc.c')
-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 487cffd2dc..122282623c 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)); |