summaryrefslogtreecommitdiffstats
path: root/video/vdpau.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/vdpau.h')
-rw-r--r--video/vdpau.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/vdpau.h b/video/vdpau.h
index 24615529d2..1b81062bb7 100644
--- a/video/vdpau.h
+++ b/video/vdpau.h
@@ -35,7 +35,7 @@ struct vdp_functions {
// Shared state. Objects created from different VdpDevices are often (always?)
// incompatible to each other, so all code must use a shared VdpDevice.
struct mp_vdpau_ctx {
- struct vdp_functions *vdp;
+ struct vdp_functions vdp;
VdpGetProcAddress *get_proc_address;
VdpDevice vdp_device;
bool is_preempted; // set to true during unavailability