[FFmpeg-cvslog] libvorbisenc: Fix assignments in if()

Michael Niedermayer git at videolan.org
Mon Jan 14 05:28:28 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jan 14 00:04:59 2013 +0100| [bdd71abe5f34ca37612e17d912060f4dc9b94796] | committer: Michael Niedermayer

libvorbisenc: Fix assignments in if()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bdd71abe5f34ca37612e17d912060f4dc9b94796
---

 libavcodec/libvorbisenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/libvorbisenc.c b/libavcodec/libvorbisenc.c
index c81375c..188c8cc 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)



More information about the ffmpeg-cvslog mailing list