Message ID | 20240131115634.756-2-tong1.wu@intel.com |
---|---|
State | Accepted |
Commit | 82e8838165bba565912e6a00422f01329df32e18 |
Headers | show |
Series | [FFmpeg-devel,1/2] avcodec/d3d12va_decode: fix different 'const' qualifiers warning | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
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; }