diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-10-22 17:30:13 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-10-22 17:30:13 +0000 |
commit | 7c91720081814aef091177d95c46515f79451bbd (patch) | |
tree | 94d02e3404e12bac7d8c928f481d952f89365d06 /libmpdemux | |
parent | 3a177a1741f8dbb6c9a3eaf79fc4cc36b4ed5454 (diff) |
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11227 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/asf_mmst_streaming.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libmpdemux/asf_mmst_streaming.c b/libmpdemux/asf_mmst_streaming.c index 11c46a2ef7..24a7d8abd6 100644 --- a/libmpdemux/asf_mmst_streaming.c +++ b/libmpdemux/asf_mmst_streaming.c @@ -107,13 +107,12 @@ static void string_utf16(char *dest, char *src, int len) { int i; - memset (dest, 0, 1000); - for (i=0; i<len; i++) { dest[i*2] = src[i]; dest[i*2+1] = 0; } + /* trailing zeroes */ dest[i*2] = 0; dest[i*2+1] = 0; } |