diff options
author | James Almer <jamrial@gmail.com> | 2023-12-31 17:21:49 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-01-01 09:46:41 -0300 |
commit | 85b8d59ec763a7f3352cbae38ec3b75af9585cdb (patch) | |
tree | 5f7c99ef7e1a7981f7d24d648e11dfc1c11245ab | |
parent | e9722735fad451db9efa47adfcc98af9d171c00b (diff) | |
download | ffmpeg-85b8d59ec763a7f3352cbae38ec3b75af9585cdb.tar.gz |
avcodec/d3d12va_mpeg2: change the type for the ID3D12Resource_Map input data argument
Fixes -Wincompatible-pointer-types warnings.
Reviewed-by: Wu Jianhua <toqsxw@outlook.com>
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavcodec/d3d12va_mpeg2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/d3d12va_mpeg2.c b/libavcodec/d3d12va_mpeg2.c index a2ae8bf948..b964f8d2ff 100644 --- a/libavcodec/d3d12va_mpeg2.c +++ b/libavcodec/d3d12va_mpeg2.c @@ -98,7 +98,7 @@ static int update_input_arguments(AVCodecContext *avctx, D3D12_VIDEO_DECODE_INPU const unsigned mb_count = s->mb_width * (s->mb_height >> is_field); int i; - uint8_t *mapped_data = NULL; + void *mapped_data = NULL; D3D12_VIDEO_DECODE_FRAME_ARGUMENT *args = &input_args->FrameArguments[input_args->NumFrameArguments++]; D3D12_RANGE range = { |