diff options
Diffstat (limited to 'libavcodec/vaapi_internal.h')
-rw-r--r-- | libavcodec/vaapi_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vaapi_internal.h b/libavcodec/vaapi_internal.h index 43fa889..e514dd6 100644 --- a/libavcodec/vaapi_internal.h +++ b/libavcodec/vaapi_internal.h @@ -38,7 +38,7 @@ /** Extract VASurfaceID from a Picture */ static inline VASurfaceID ff_vaapi_get_surface_id(Picture *pic) { - return (uintptr_t)pic->data[3]; + return (uintptr_t)pic->f.data[3]; } /** Common AVHWAccel.end_frame() implementation */ |