History

avcodec/d3d12va_vp9.c: change the type for the ID3D12Resource_Map mapped_data argument

Fixes -Wincompatible-pointer-types warnings.

James Almer committed 2 years ago

Commit 04332ca1 parent b4d871f1 file · +1 −1Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/d3d12va_vp9.c+1−1
@@ -92,7 +92,7 @@ static int update_input_arguments(AVCodecContext *avctx, D3D12_VIDEO_DECODE_INPU · 91 unmodified lines
92 const VP9SharedContext *h = avctx->priv_data;92 const VP9SharedContext *h = avctx->priv_data;
93 VP9DecodePictureContext *ctx_pic = h->frames[CUR_FRAME].hwaccel_picture_private;93 VP9DecodePictureContext *ctx_pic = h->frames[CUR_FRAME].hwaccel_picture_private;
94 94
95 uint8_t *mapped_data;95 void *mapped_data;
96 D3D12_VIDEO_DECODE_FRAME_ARGUMENT *args;96 D3D12_VIDEO_DECODE_FRAME_ARGUMENT *args;
97 97
98 if (FAILED(ID3D12Resource_Map(buffer, 0, NULL, &mapped_data))) {98 if (FAILED(ID3D12Resource_Map(buffer, 0, NULL, &mapped_data))) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t