From 9203f06cf32a260f0ed4209eb744c58e0e6db47b Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 13 Nov 2012 09:52:53 +0100 Subject: vf_dlopen: fix a typo in zeroing memory (thanks, pigoz) Accidentally had put the & inside the sizeof call too. Typing too fast. --- video/filter/vf_dlopen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video') 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; -- cgit v1.2.3