From 916517301621f48a56cfbed539f2d2cfc33b8f3e Mon Sep 17 00:00:00 2001 From: mswitch Date: Mon, 25 Mar 2002 05:13:19 +0000 Subject: [PATCH] Bugfix by XorA git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5331 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_dxr3.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libvo/vo_dxr3.c b/libvo/vo_dxr3.c index 1ea1ad849b..709e27a0eb 100644 --- a/libvo/vo_dxr3.c +++ b/libvo/vo_dxr3.c @@ -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 the jitter-bug experienced * with some videos have been fixed, many thanks goes to him. @@ -345,7 +348,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32 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);