From c4eafc62007b47d443d53321c71e94239ab028e3 Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Tue, 11 Mar 2014 14:59:27 +0000 Subject: Fix a short zero-init. --- src/xine-utils/color.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/xine-utils/color.c b/src/xine-utils/color.c index b5925ea7b..acc68962e 100644 --- a/src/xine-utils/color.c +++ b/src/xine-utils/color.c @@ -159,7 +159,7 @@ void (*yuy2_to_yv12) * and height passed to it. The width must be divisible by 2. */ void init_yuv_planes(yuv_planes_t *yuv_planes, int width, int height) { - memset (yuv_planes, 0, sizeof (yuv_planes)); + memset (yuv_planes, 0, sizeof (*yuv_planes)); yuv_planes->row_width = width; yuv_planes->row_count = height; -- cgit v1.2.3