Message ID | 20240731130115.63422-1-jamrial@gmail.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel] avutil/hwcontext_vaapi: use the correct type for VASurfaceAttribExternalBuffers.buffers | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
On 2024-07-31 10:01:15 -0300, James Almer wrote: > Should fix ticket #11115. > > Signed-off-by: James Almer <jamrial@gmail.com> > --- > Untested. > > libavutil/hwcontext_vaapi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c > index 4cb25dd032..15fd84aa40 100644 > --- a/libavutil/hwcontext_vaapi.c > +++ b/libavutil/hwcontext_vaapi.c > @@ -1225,7 +1225,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] = { > { > -- > 2.45.2 Thanks, build tested ok. Cheers
diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c index 4cb25dd032..15fd84aa40 100644 --- a/libavutil/hwcontext_vaapi.c +++ b/libavutil/hwcontext_vaapi.c @@ -1225,7 +1225,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] = { {
Should fix ticket #11115. Signed-off-by: James Almer <jamrial@gmail.com> --- Untested. libavutil/hwcontext_vaapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)