From 643a1fc7de84b234d5a4723fa0ec31f9351e770b Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 1 Dec 2017 05:29:34 +0100 Subject: vd_lavc: remove process_image callback Now unused. --- video/decode/vd_lavc.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'video/decode/vd_lavc.c') diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index 21e86b91b2..5b5a7c47fb 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -1092,9 +1092,6 @@ static bool receive_frame(struct dec_video *vd, struct mp_image **out_image) struct mp_image *res = ctx->delay_queue[0]; MP_TARRAY_REMOVE_AT(ctx->delay_queue, ctx->num_delay_queue, 0); - if (ctx->hwdec && ctx->hwdec->process_image) - res = ctx->hwdec->process_image(ctx, res); - res = res ? mp_img_swap_to_native(res) : NULL; if (!res) return progress; -- cgit v1.2.3