changeset 15026:d3e7f8966cef

Fix memset() usage, patch by Ismail Donmez
author rathann
date Thu, 31 Mar 2005 22:06:34 +0000
parents 7388c7b80e78
children 2165a2306f02
files libvo/vo_dxr3.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_dxr3.c	Thu Mar 31 08:28:37 2005 +0000
+++ b/libvo/vo_dxr3.c	Thu Mar 31 22:06:34 2005 +0000
@@ -1066,7 +1066,7 @@
     if(!o)
 	return NULL;
 
-    memset(o,sizeof(overlay_t),0);
+    memset(o,0,sizeof(overlay_t));
 
     o->dev = dev;
     o->xres = 1280; o->yres=1024; o->xcorr=1000;