From ebfe622bb1ca57cecb932e42926745cba7161913 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 20 Dec 2013 11:20:24 +0100 Subject: mpegvideo: drop support for real (non-emulated) edges Several decoders disable those anyway and they are not measurably faster on x86. They might be somewhat faster on other platforms due to missing emu edge SIMD, but the gain is not large enough (and those decoders relevant enough) to justify the added complexity. --- libavcodec/vc1dec.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libavcodec/vc1dec.c') diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index 37da794eea..403cbbc89a 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -5598,8 +5598,6 @@ static av_cold int vc1_decode_init(AVCodecContext *avctx) avctx->pix_fmt = AV_PIX_FMT_GRAY8; avctx->hwaccel = ff_find_hwaccel(avctx); v->s.avctx = avctx; - avctx->flags |= CODEC_FLAG_EMU_EDGE; - v->s.flags |= CODEC_FLAG_EMU_EDGE; if (ff_vc1_init_common(v) < 0) return -1; -- cgit v1.2.3