[FFmpeg-cvslog] avcodec/d3d12va_decode: remove unused variable
Kacper Michajłow
git at videolan.org
Fri Jul 25 22:49:21 EEST 2025
ffmpeg | branch: master | Kacper Michajłow <kasper93 at gmail.com> | Tue Jul 22 20:52:56 2025 +0200| [c1ccd4bb2234085c12861142789f74c11b35e363] | committer: Kacper Michajłow
avcodec/d3d12va_decode: remove unused variable
Signed-off-by: Kacper Michajłow <kasper93 at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c1ccd4bb2234085c12861142789f74c11b35e363
---
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;
More information about the ffmpeg-cvslog
mailing list