mpeg4videoenc: remove forgotten return -1
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 22 Sep 2011 16:16:57 +0000 (18:16 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 1 Oct 2011 17:30:31 +0000 (19:30 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit f9bb7395a10ae44eb0f0f3f070f23124dfaee06e)

libavcodec/mpegvideo_enc.c

index d13534d..3c92aa9 100644 (file)
@@ -415,7 +415,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))