summaryrefslogtreecommitdiffstats
path: root/video/vdpau.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-03-19 19:57:08 +0100
committerwm4 <wm4@nowhere>2014-03-19 19:57:08 +0100
commit9be93d6b60bebe6b43687d481957ed78ac25f4c8 (patch)
treebd131d3415b3121d0c62c3a7b514355574c0e0ad /video/vdpau.h
parent917650fefaa34b94a3784c2944c45b5d7131f229 (diff)
downloadmpv-9be93d6b60bebe6b43687d481957ed78ac25f4c8.tar.bz2
mpv-9be93d6b60bebe6b43687d481957ed78ac25f4c8.tar.xz
vdpau: remove pointer indirection for a field
There's no reason to. This is basically a cosmetic change.
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