summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--junklib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/junklib.c b/junklib.c
index 45e98405..ed0c203f 100644
--- a/junklib.c
+++ b/junklib.c
@@ -711,7 +711,8 @@ convstr_id3v2 (int version, uint8_t encoding, const unsigned char* str, int sz)
}
else {
trace ("invalid ucs-2 signature %x %x\n", (int)str[0], (int)str[1]);
- return NULL;
+ enc = "UCS-2LE";
+ // NOTE: this is an assumption, might break in the future.
}
}
else {