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

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
9292 const VP9SharedContext *h = avctx->priv_data;
9393 VP9DecodePictureContext *ctx_pic = h->frames[CUR_FRAME].hwaccel_picture_private;
9494
95− uint8_t *mapped_data;
95+ void *mapped_data;
9696 D3D12_VIDEO_DECODE_FRAME_ARGUMENT *args;
9797
9898 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