1
0
Fork 0

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>
This commit is contained in:
James Almer 2023-12-31 17:21:49 -03:00
parent e9722735fa
commit 85b8d59ec7
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {