summaryrefslogtreecommitdiff
path: root/ext/vp8/gstvp8enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/vp8/gstvp8enc.c')
-rw-r--r--ext/vp8/gstvp8enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/vp8/gstvp8enc.c b/ext/vp8/gstvp8enc.c
index 189d8df0b..d21ed23f4 100644
--- a/ext/vp8/gstvp8enc.c
+++ b/ext/vp8/gstvp8enc.c
@@ -827,7 +827,7 @@ gst_vp8_enc_set_format (GstBaseVideoEncoder * base_video_encoder,
/* prepare cached image buffer setup */
image = &encoder->image;
- memset (image, 0, sizeof (image));
+ memset (image, 0, sizeof (*image));
image->fmt = VPX_IMG_FMT_I420;
image->bps = 12;