[FFmpeg-devel] [PATCH 03/10] avcodec/d3d12va_decode: remove unused variable

Kacper Michajłow kasper93 at gmail.com
Tue Jul 22 22:16:04 EEST 2025


Signed-off-by: Kacper Michajłow <kasper93 at gmail.com>
---
 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;
-- 
2.50.1



More information about the ffmpeg-devel mailing list