summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/m3u/m3u.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/m3u/m3u.c b/plugins/m3u/m3u.c
index 8a105e2f..d01b0079 100644
--- a/plugins/m3u/m3u.c
+++ b/plugins/m3u/m3u.c
@@ -149,7 +149,7 @@ load_m3u (ddb_playlist_t *plt, DB_playItem_t *after, const char *fname, int *pab
if (title[0]) {
const char *cs = deadbeef->junk_detect_charset (title);
if (cs) {
- char tmp[2048];
+ char tmp[1000];
if (deadbeef->junk_iconv (title, strlen (title), tmp, sizeof (tmp), cs, "utf-8") >= 0) {
strcpy (title, tmp);
}
@@ -158,7 +158,7 @@ load_m3u (ddb_playlist_t *plt, DB_playItem_t *after, const char *fname, int *pab
if (artist[0]) {
const char *cs = deadbeef->junk_detect_charset (artist);
if (cs) {
- char tmp[2048];
+ char tmp[1000];
if (deadbeef->junk_iconv (artist, strlen (artist), tmp, sizeof (tmp), cs, "utf-8") >= 0) {
strcpy (artist, tmp);
}