changeset 5330:5766e8098794

Bugfix by XorA
author mswitch
date Mon, 25 Mar 2002 05:13:19 +0000
parents bf30f8d31e6a
children 6bab0f8a75e4
files libvo/vo_dxr3.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_dxr3.c	Mon Mar 25 03:20:42 2002 +0000
+++ b/libvo/vo_dxr3.c	Mon Mar 25 05:13:19 2002 +0000
@@ -6,6 +6,9 @@
  */
 
 /* ChangeLog added 2002-01-10
+ * 2002-03-25:
+ *  A couple of bugfixes by XorA
+ *
  * 2002-03-23:
  *  Thanks to Marcel Hild <hild@b4mad.net> the jitter-bug experienced
  *  with some videos have been fixed, many thanks goes to him.
@@ -345,7 +348,7 @@
 			return -1;
 		}
 		avc_context = malloc(sizeof(AVCodecContext));
-		memset(avc_context, 0, sizeof(avc_context));
+		memset(avc_context, 0, sizeof(AVCodecContext));
 		avc_context->width = s_width;
 		avc_context->height = s_height;
 		ioctl(fd_control, EM8300_IOCTL_GET_VIDEOMODE, &ioval);