[FFmpeg-cvslog] mpeg4videoenc: remove forgotten return -1

Michael Niedermayer git at videolan.org
Thu Sep 22 18:25:32 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Sep 22 18:16:57 2011 +0200| [f9bb7395a10ae44eb0f0f3f070f23124dfaee06e] | committer: Michael Niedermayer

mpeg4videoenc: remove forgotten return -1

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

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

 libavcodec/mpegvideo_enc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index 693bbf1..65eff63 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -427,7 +427,6 @@ av_cold int MPV_encode_init(AVCodecContext *avctx)
                avctx->sample_aspect_ratio.num, avctx->sample_aspect_ratio.den);
         av_reduce(&avctx->sample_aspect_ratio.num, &avctx->sample_aspect_ratio.den,
                    avctx->sample_aspect_ratio.num,  avctx->sample_aspect_ratio.den, 255);
-        return -1;
     }
 
     if((s->flags & (CODEC_FLAG_INTERLACED_DCT|CODEC_FLAG_INTERLACED_ME|CODEC_FLAG_ALT_SCAN))



More information about the ffmpeg-cvslog mailing list