mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
e9722735fa
commit
85b8d59ec7
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue