diff options
-rw-r--r-- | libmpdemux/asf_mmst_streaming.c | 1 |
1 files changed, 1 insertions, 0 deletions
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<len; i++) { dest[i*2] = src[i]; dest[i*2+1] = 0; |