summaryrefslogtreecommitdiffstats
path: root/video/vaapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/vaapi.h')
-rw-r--r--video/vaapi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/vaapi.h b/video/vaapi.h
index 8e09193fd9..2dbf03a208 100644
--- a/video/vaapi.h
+++ b/video/vaapi.h
@@ -118,7 +118,7 @@ struct va_surface * va_surface_in_mp_image(struct mp_image *mpi);
struct mp_image * va_surface_wrap(struct va_surface *surface); // takes ownership
VASurfaceID va_surface_id(const struct va_surface *surface);
VASurfaceID va_surface_id_in_mp_image(const struct mp_image *mpi);
-bool va_surface_upload(struct va_surface *surface, const struct mp_image *mpi);
+bool va_surface_upload(struct va_surface *surface, struct mp_image *mpi);
struct mp_image * va_surface_download(struct va_surface *surface,
const struct va_image_formats *formats,
struct mp_image_pool *pool);