From 7b1bd09dbc64471bf84eb7fcaaf32ba637a82fe2 Mon Sep 17 00:00:00 2001 From: rtognimp Date: Wed, 13 Apr 2005 19:21:05 +0000 Subject: [PATCH] Make string_utf16 code behave almost the same with or without iconv git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15151 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/asf_mmst_streaming.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libmpdemux/asf_mmst_streaming.c b/libmpdemux/asf_mmst_streaming.c index d05a9629cc..e364c8e31a 100644 --- a/libmpdemux/asf_mmst_streaming.c +++ b/libmpdemux/asf_mmst_streaming.c @@ -136,6 +136,7 @@ static void string_utf16(char *dest, char *src, int len) { else { #endif + if (len > 499) len = 499; for (i=0; i