mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-17 20:17:55 +02:00
avutil/hwcontext_vaapi: use the correct type for VASurfaceAttribExternalBuffers.buffers
Should fix ticket #11115. Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit 6f8e365a2af2b6b21701d41eed3b2e3f8a436eeb)
This commit is contained in:
parent
517e559a46
commit
b6b55f6e2b
@ -1213,7 +1213,7 @@ static int vaapi_map_from_drm(AVHWFramesContext *src_fc, AVFrame *dst,
|
||||
|
||||
if (!use_prime2 || vas != VA_STATUS_SUCCESS) {
|
||||
int k;
|
||||
unsigned long buffer_handle;
|
||||
uintptr_t buffer_handle;
|
||||
VASurfaceAttribExternalBuffers buffer_desc;
|
||||
VASurfaceAttrib buffer_attrs[2] = {
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user