summaryrefslogtreecommitdiff
path: root/libavcodec/dxva2_vc1.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-16 20:39:54 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-20 06:57:30 +0200
commit5bcae5251f7521c1c4fd851ee1c54217559f0194 (patch)
treeb60eb9756f72e47a677090c2643bff7afe102e91 /libavcodec/dxva2_vc1.c
parente0c01a62adf59d1866ec53dcd76e4d4c815c5d58 (diff)
avcodec/vc1_block: Remove dead calls to ff_mpeg_draw_horiz_band()
The VC-1 decoders don't support draw_horiz_band at all. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/dxva2_vc1.c')
-rw-r--r--libavcodec/dxva2_vc1.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/dxva2_vc1.c b/libavcodec/dxva2_vc1.c
index cf660a50d2..12e3de59ec 100644
--- a/libavcodec/dxva2_vc1.c
+++ b/libavcodec/dxva2_vc1.c
@@ -372,8 +372,6 @@ static int dxva2_vc1_end_frame(AVCodecContext *avctx)
&ctx_pic->pp, sizeof(ctx_pic->pp),
NULL, 0,
commit_bitstream_and_slice_buffer);
- if (!ret)
- ff_mpeg_draw_horiz_band(&v->s, 0, avctx->height);
return ret;
}