summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTong Wu <tong1.wu@intel.com>2024-01-31 19:56:32 +0800
committerHaihao Xiang <haihao.xiang@intel.com>2024-02-08 10:34:02 +0800
commit92ee7461c3f5657305a3cbd4704aedbd67136bdc (patch)
treef45472b05b29408925106bb4858992dd9c27ac2a
parent336d59643a96843dbc51837e855326f2738f0e5b (diff)
avcodec/d3d12va_decode: fix different 'const' qualifiers warning
Signed-off-by: Tong Wu <tong1.wu@intel.com>
-rw-r--r--libavcodec/d3d12va_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/d3d12va_decode.c b/libavcodec/d3d12va_decode.c
index 9bb8db1690..af7cf11640 100644
--- a/libavcodec/d3d12va_decode.c
+++ b/libavcodec/d3d12va_decode.c
@@ -79,7 +79,7 @@ unsigned ff_d3d12va_get_surface_index(const AVCodecContext *avctx,
}
fail:
- 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;
}