diff options
author | Tong Wu <tong1.wu@intel.com> | 2024-01-31 19:56:33 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2024-02-08 10:34:02 +0800 |
commit | 82e8838165bba565912e6a00422f01329df32e18 (patch) | |
tree | e17f2714d4f70ac8ba3e30afa460d124725ec24a /libavcodec/dxva2.c | |
parent | 92ee7461c3f5657305a3cbd4704aedbd67136bdc (diff) | |
download | ffmpeg-82e8838165bba565912e6a00422f01329df32e18.tar.gz |
avcodec/dxva2: fix different 'const' qualifiers warning
Signed-off-by: Tong Wu <tong1.wu@intel.com>
Diffstat (limited to 'libavcodec/dxva2.c')
-rw-r--r-- | libavcodec/dxva2.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |