summaryrefslogtreecommitdiffstats
path: root/libvo/vo_dxr3.c
diff options
context:
space:
mode:
authormswitch <mswitch@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-25 05:13:19 +0000
committermswitch <mswitch@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-25 05:13:19 +0000
commit916517301621f48a56cfbed539f2d2cfc33b8f3e (patch)
treeb7011ee212ef74b4c968410e7d1af37cef7b02f4 /libvo/vo_dxr3.c
parent365c7ec187afb4b22aaa3b146e42b03027386ab9 (diff)
downloadmpv-916517301621f48a56cfbed539f2d2cfc33b8f3e.tar.bz2
mpv-916517301621f48a56cfbed539f2d2cfc33b8f3e.tar.xz
Bugfix by XorA
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5331 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_dxr3.c')
-rw-r--r--libvo/vo_dxr3.c5
1 files changed, 4 insertions, 1 deletions
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 <hild@b4mad.net> 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);