summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDarren Salt <devspam@moreofthesa.me.uk>2014-03-11 14:59:27 +0000
committerDarren Salt <devspam@moreofthesa.me.uk>2014-03-11 14:59:27 +0000
commitc4eafc62007b47d443d53321c71e94239ab028e3 (patch)
tree0cf77a3a25c18771da9817c73920a93da98ce91f /src
parent0c762a259e047f91bc7a08bba7e07da692d5a476 (diff)
downloadxine-lib-c4eafc62007b47d443d53321c71e94239ab028e3.tar.gz
xine-lib-c4eafc62007b47d443d53321c71e94239ab028e3.tar.bz2
Fix a short zero-init.
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;