| 1 | Patch-Source: https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/6f8e365a2af2b6b21701d41eed3b2e3f8a436eeb
|
| 2 | --
|
| 3 | From 6f8e365a2af2b6b21701d41eed3b2e3f8a436eeb Mon Sep 17 00:00:00 2001
|
| 4 | From: James Almer <[email protected]>
|
| 5 | Date: Wed, 31 Jul 2024 10:00:54 -0300
|
| 6 | Subject: [PATCH] avutil/hwcontext_vaapi: use the correct type for
|
| 7 | VASurfaceAttribExternalBuffers.buffers
|
| 8 |
|
| 9 | Should fix ticket #11115.
|
| 10 |
|
| 11 | Signed-off-by: James Almer <[email protected]>
|
| 12 | ---
|
| 13 | libavutil/hwcontext_vaapi.c | 2 +-
|
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-)
|
| 15 |
|
| 16 | diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c
|
| 17 | index 4cb25dd032..15fd84aa40 100644
|
| 18 | |
| 19 | |
| 20 | @@ -1225,7 +1225,7 @@ static int vaapi_map_from_drm(AVHWFramesContext *src_fc, AVFrame *dst,
|
| 21 |
|
| 22 | if (!use_prime2 || vas != VA_STATUS_SUCCESS) {
|
| 23 | int k;
|
| 24 | - unsigned long buffer_handle;
|
| 25 | + uintptr_t buffer_handle;
|
| 26 | VASurfaceAttribExternalBuffers buffer_desc;
|
| 27 | VASurfaceAttrib buffer_attrs[2] = {
|
| 28 | {
|
| 29 | --
|
| 30 | 2.25.1
|
| 31 |
|