diff options
author | Rudolf Polzer <divverent@xonotic.org> | 2012-11-13 09:52:53 +0100 |
---|---|---|
committer | Rudolf Polzer <divverent@xonotic.org> | 2012-11-13 09:52:53 +0100 |
commit | 9203f06cf32a260f0ed4209eb744c58e0e6db47b (patch) | |
tree | 6d1d1f2b5293dca6216574ccceb3674152cef4ad /video/filter | |
parent | 88ac5c5d423541625ae1c9ab0449613405b7d252 (diff) | |
download | mpv-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/filter')
-rw-r--r-- | video/filter/vf_dlopen.c | 2 |
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; |