summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xine-utils/color.c2
1 files changed, 1 insertions, 1 deletions
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;