aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vc1dec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-12-20 11:20:24 +0100
committerAnton Khirnov <anton@khirnov.net>2014-01-09 09:41:19 +0100
commitebfe622bb1ca57cecb932e42926745cba7161913 (patch)
treea63aa02a42854db02d71b05b97123ddc400e8df7 /libavcodec/vc1dec.c
parent952d3187d8eda7067fcd73f1d5f17837fa65eb34 (diff)
downloadffmpeg-ebfe622bb1ca57cecb932e42926745cba7161913.tar.gz
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.
Diffstat (limited to 'libavcodec/vc1dec.c')
-rw-r--r--libavcodec/vc1dec.c2
1 files changed, 0 insertions, 2 deletions
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;