From 82e8838165bba565912e6a00422f01329df32e18 Mon Sep 17 00:00:00 2001 From: Tong Wu Date: Wed, 31 Jan 2024 19:56:33 +0800 Subject: avcodec/dxva2: fix different 'const' qualifiers warning Signed-off-by: Tong Wu --- libavcodec/dxva2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dxva2.c b/libavcodec/dxva2.c index ec0d9e7d1c..59025633f7 100644 --- a/libavcodec/dxva2.c +++ b/libavcodec/dxva2.c @@ -795,7 +795,7 @@ unsigned ff_dxva2_get_surface_index(const AVCodecContext *avctx, } #endif - av_log(avctx, AV_LOG_WARNING, "Could not get surface index. Using 0 instead.\n"); + av_log((AVCodecContext *)avctx, AV_LOG_WARNING, "Could not get surface index. Using 0 instead.\n"); return 0; } -- cgit v1.2.3