[FFmpeg-cvslog] avcodec/dxva2: fix different 'const' qualifiers warning
Tong Wu
git at videolan.org
Thu Feb 8 04:40:03 EET 2024
ffmpeg | branch: master | Tong Wu <tong1.wu at intel.com> | Wed Jan 31 19:56:33 2024 +0800| [82e8838165bba565912e6a00422f01329df32e18] | committer: Haihao Xiang
avcodec/dxva2: fix different 'const' qualifiers warning
Signed-off-by: Tong Wu <tong1.wu at intel.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=82e8838165bba565912e6a00422f01329df32e18
---
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;
}
More information about the ffmpeg-cvslog
mailing list