Commit 16c14cce authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

vdpau: fix function pointers array size

parent 79f6c2f2
......@@ -104,7 +104,7 @@ struct vdp_s
union
{
vdp_vtable_t vt;
void *funcs[1];
void *funcs[sizeof (vdp_vtable_t) / sizeof (void *)];
}; /**< VDPAU function pointers table */
void *handle; /**< Shared library handle */
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment