summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorRudolf Polzer <divverent@xonotic.org>2012-11-13 09:52:53 +0100
committerRudolf Polzer <divverent@xonotic.org>2012-11-13 09:52:53 +0100
commit9203f06cf32a260f0ed4209eb744c58e0e6db47b (patch)
tree6d1d1f2b5293dca6216574ccceb3674152cef4ad /video
parent88ac5c5d423541625ae1c9ab0449613405b7d252 (diff)
downloadmpv-9203f06cf32a260f0ed4209eb744c58e0e6db47b.tar.bz2
mpv-9203f06cf32a260f0ed4209eb744c58e0e6db47b.tar.xz
vf_dlopen: fix a typo in zeroing memory (thanks, pigoz)
Accidentally had put the & inside the sizeof call too. Typing too fast.
Diffstat (limited to 'video')
-rw-r--r--video/filter/vf_dlopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_dlopen.c b/video/filter/vf_dlopen.c
index 8f24e2356d..e440b3759e 100644
--- a/video/filter/vf_dlopen.c
+++ b/video/filter/vf_dlopen.c
@@ -170,7 +170,7 @@ static void uninit(struct vf_instance *vf)
{
if (vf->priv->filter.uninit)
vf->priv->filter.uninit(&vf->priv->filter);
- memset(&vf->priv->filter, 0, sizeof(&vf->priv->filter));
+ memset(&vf->priv->filter, 0, sizeof(vf->priv->filter));
if (vf->priv->dll) {
DLLClose(vf->priv->dll);
vf->priv->dll = NULL;