diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 00:04:59 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 05:05:36 +0100 |
commit | bdd71abe5f34ca37612e17d912060f4dc9b94796 (patch) | |
tree | afbe68dfdea1606b41e9754097180a433646a294 /libavcodec/libvorbisenc.c | |
parent | 0ccb31dcad5a1543fbb284d66b0410b91ebd171d (diff) | |
download | ffmpeg-bdd71abe5f34ca37612e17d912060f4dc9b94796.tar.gz |
libvorbisenc: Fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/libvorbisenc.c')
-rw-r--r-- | libavcodec/libvorbisenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libvorbisenc.c b/libavcodec/libvorbisenc.c index c81375c8ef..188c8cc9c5 100644 --- a/libavcodec/libvorbisenc.c +++ b/libavcodec/libvorbisenc.c @@ -305,7 +305,7 @@ static int oggvorbis_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, av_log(avctx, AV_LOG_ERROR, "error in vorbis_analysis_wrote()\n"); return vorbis_error_to_averror(ret); } - if ((ret = ff_af_queue_add(&s->afq, frame) < 0)) + if ((ret = ff_af_queue_add(&s->afq, frame)) < 0) return ret; } else { if (!s->eof) |