From ca9627e70852f6b2e835660df870fe3ab405882d Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 1 Sep 2019 00:00:32 +0200 Subject: Initial import --- media-plugins/xmms-mpg123/files/xmms-ds-id3v2fix.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 media-plugins/xmms-mpg123/files/xmms-ds-id3v2fix.patch (limited to 'media-plugins/xmms-mpg123/files/xmms-ds-id3v2fix.patch') 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. + */ -- cgit v1.2.3