From c1ccd4bb2234085c12861142789f74c11b35e363 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Tue, 22 Jul 2025 20:52:56 +0200 Subject: [PATCH] avcodec/d3d12va_decode: remove unused variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kacper Michajłow --- libavcodec/d3d12va_decode.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/d3d12va_decode.c b/libavcodec/d3d12va_decode.c index 4645ffe122..4e714efb1a 100644 --- a/libavcodec/d3d12va_decode.c +++ b/libavcodec/d3d12va_decode.c @@ -50,7 +50,6 @@ typedef struct ReferenceFrame { static ID3D12Resource *get_reference_only_resource(AVCodecContext *avctx, ID3D12Resource *output_resource) { D3D12VADecodeContext *ctx = D3D12VA_DECODE_CONTEXT(avctx); - AVHWFramesContext *frames_ctx = D3D12VA_FRAMES_CONTEXT(avctx); AVD3D12VADeviceContext *device_hwctx = ctx->device_ctx; int i = 0; ID3D12Resource *resource = NULL;