summaryrefslogtreecommitdiffstats
path: root/media-plugins/xmms-mpg123/files/xmms-ds-id3v2fix.patch
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /media-plugins/xmms-mpg123/files/xmms-ds-id3v2fix.patch
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'media-plugins/xmms-mpg123/files/xmms-ds-id3v2fix.patch')
-rw-r--r--media-plugins/xmms-mpg123/files/xmms-ds-id3v2fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-plugins/xmms-mpg123/files/xmms-ds-id3v2fix.patch b/media-plugins/xmms-mpg123/files/xmms-ds-id3v2fix.patch
new file mode 100644
index 0000000..483ba57
--- /dev/null
+++ b/media-plugins/xmms-mpg123/files/xmms-ds-id3v2fix.patch
@@ -0,0 +1,12 @@
+diff -dPNur xmms-1.2.10/Input/mpg123/id3_frame_content.c xmms-1.2.10-new/Input/mpg123/id3_frame_content.c
+--- xmms-1.2.10/Input/mpg123/id3_frame_content.c 2006-11-23 10:09:31.000000000 +0400
++++ xmms-1.2.10-new/Input/mpg123/id3_frame_content.c 2006-11-23 10:10:28.000000000 +0400
+@@ -48,6 +48,8 @@
+ text_beg = text = id3_string_decode(ID3_TEXT_FRAME_ENCODING(frame),
+ ID3_TEXT_FRAME_PTR(frame));
+
++ if (!text_beg) return NULL;
++
+ /*
+ * If content is just plain text, return it.
+ */