aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-02-01 10:15:51 +0100
committerAnton Khirnov <anton@khirnov.net>2022-02-15 10:16:15 +0100
commitbe95df12bb06b183c8d2aea3b0831fdf05466cf3 (patch)
tree496462d3c96b633759bd863bfc9221b408395a91 /libavcodec/mpegvideo.c
parenta67734596dca097584965916e0ba90e81af3163c (diff)
downloadffmpeg-be95df12bb06b183c8d2aea3b0831fdf05466cf3.tar.gz
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/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index a4ed1f8b36..fc970e9614 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -1644,12 +1644,6 @@ skip_idct:
void ff_mpv_reconstruct_mb(MpegEncContext *s, int16_t block[12][64])
{
- if (CONFIG_XVMC &&
- s->avctx->hwaccel && s->avctx->hwaccel->decode_mb) {
- s->avctx->hwaccel->decode_mb(s); //xvmc uses pblocks
- return;
- }
-
if (s->avctx->debug & FF_DEBUG_DCT_COEFF) {
/* print DCT coefficients */
av_log(s->avctx, AV_LOG_DEBUG, "DCT coeffs of MB at %dx%d:\n", s->mb_x, s->mb_y);