diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-02-01 10:15:51 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-02-15 10:16:15 +0100 |
commit | be95df12bb06b183c8d2aea3b0831fdf05466cf3 (patch) | |
tree | 496462d3c96b633759bd863bfc9221b408395a91 /libavcodec/x86 | |
parent | a67734596dca097584965916e0ba90e81af3163c (diff) |
lavc/mpeg*: drop the XvMC hwaccel code
XvMC was last relevant over 10 years ago, if ever. There is no reason to
use it today.
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/blockdsp_init.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/x86/blockdsp_init.c b/libavcodec/x86/blockdsp_init.c index 8b01a447cd..be3eef0021 100644 --- a/libavcodec/x86/blockdsp_init.c +++ b/libavcodec/x86/blockdsp_init.c @@ -44,10 +44,6 @@ av_cold void ff_blockdsp_init_x86(BlockDSPContext *c, c->clear_blocks = ff_clear_blocks_mmx; } - /* XvMCCreateBlocks() may not allocate 16-byte aligned blocks */ - if (CONFIG_XVMC && avctx->hwaccel && avctx->hwaccel->decode_mb) - return; - if (EXTERNAL_SSE(cpu_flags)) { c->clear_block = ff_clear_block_sse; c->clear_blocks = ff_clear_blocks_sse; |