summaryrefslogtreecommitdiffstats
path: root/gst/effectv/gstedge.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/effectv/gstedge.c')
-rw-r--r--gst/effectv/gstedge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/effectv/gstedge.c b/gst/effectv/gstedge.c
index 200de671..137eb358 100644
--- a/gst/effectv/gstedge.c
+++ b/gst/effectv/gstedge.c
@@ -163,7 +163,7 @@ gst_edgetv_sinkconnect (GstPad * pad, const GstCaps * caps)
g_free (filter->map);
filter->map = (guint32 *)g_malloc (filter->map_width * filter->map_height * sizeof(guint32) * 2);
- bzero(filter->map, filter->map_width * filter->map_height * sizeof(guint32) * 2);
+ memset(filter->map, 0, filter->map_width * filter->map_height * sizeof(guint32) * 2);
return gst_pad_try_set_caps (filter->srcpad, caps);
}