summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <[email protected]>2011-09-22 18:16:57 +0200
committerMichael Niedermayer <[email protected]>2011-10-01 19:30:31 +0200
commit0d68a6f72d8c2ff02ad3f83522ad17123bf1c4e5 (patch)
treeb6f65a4dfdd5f39963c9d1219734a1b2201c78a3
parenta0acc9eff642de0f3d247a728deb320fd4cbb75f (diff)
mpeg4videoenc: remove forgotten return -1
Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit f9bb7395a10ae44eb0f0f3f070f23124dfaee06e)
-rw-r--r--libavcodec/mpegvideo_enc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index d13534d4f8..3c92aa93f4 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -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))