summaryrefslogtreecommitdiff
path: root/package/libid3tag/patches/patch-parse_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-17 13:58:30 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-17 13:58:30 +0200
commit88dd48f85bc6191e990650613c1cea87db978485 (patch)
treeb0163c92c387734a72705410e8111c84d87e3d57 /package/libid3tag/patches/patch-parse_c
parentf043b8522e55308488448593bb4997614732a30a (diff)
parent59161fbfcb5c72b28491056f85785528f3e444f1 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/libid3tag/patches/patch-parse_c')
-rw-r--r--package/libid3tag/patches/patch-parse_c12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/libid3tag/patches/patch-parse_c b/package/libid3tag/patches/patch-parse_c
new file mode 100644
index 000000000..6e09c5e26
--- /dev/null
+++ b/package/libid3tag/patches/patch-parse_c
@@ -0,0 +1,12 @@
+--- libid3tag-0.15.1b.orig/parse.c 2004-01-23 10:41:32.000000000 +0100
++++ libid3tag-0.15.1b/parse.c 2013-10-16 12:34:31.000000000 +0200
+@@ -165,6 +165,9 @@ id3_ucs4_t *id3_parse_string(id3_byte_t
+ case ID3_FIELD_TEXTENCODING_UTF_8:
+ ucs4 = id3_utf8_deserialize(ptr, length);
+ break;
++ default:
++ /* FIXME: Unknown encoding! Print warning? */
++ return NULL;
+ }
+
+ if (ucs4 && !full) {