summaryrefslogtreecommitdiff
path: root/libavcodec/vaapi_internal.h
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-07-10 23:55:06 +0100
committerMans Rullgard <mans@mansr.com>2011-07-10 23:58:26 +0100
commit1765aacb17fd1df0cd794a9ddc95e22d272434cb (patch)
treebfcb2bd9c69585fa599605b05e7502c032be61ee /libavcodec/vaapi_internal.h
parent657ccb5ac75ce34e62bd67f228d9bd36db72189e (diff)
downloadffmpeg-1765aacb17fd1df0cd794a9ddc95e22d272434cb.tar.gz
hwaccel: unbreak build
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/vaapi_internal.h')
-rw-r--r--libavcodec/vaapi_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vaapi_internal.h b/libavcodec/vaapi_internal.h
index 38432e1bc0..c6d5d6e42a 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 */