diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2008-01-04 21:05:57 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2008-01-04 21:05:57 +0000 |
commit | b2f5af9a8285c3c960bc1e8618e1c0f349a63cb1 (patch) | |
tree | 76e123785e7c95943d443af919312fd0166a837d /packages/gnome-mplayer/files/uchar-for-utf8-check.patch | |
parent | 1d6f1d20590fd91fb800156d9c16afb551a28c16 (diff) |
gnome-mplayer: Fix segfaults decoding non-utf8 tags in media.
Diffstat (limited to 'packages/gnome-mplayer/files/uchar-for-utf8-check.patch')
-rw-r--r-- | packages/gnome-mplayer/files/uchar-for-utf8-check.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/gnome-mplayer/files/uchar-for-utf8-check.patch b/packages/gnome-mplayer/files/uchar-for-utf8-check.patch new file mode 100644 index 0000000000..f19d20716e --- /dev/null +++ b/packages/gnome-mplayer/files/uchar-for-utf8-check.patch @@ -0,0 +1,22 @@ +--- a/src/support.c.org 2007-12-18 20:39:09.000000000 +0200 ++++ a/src/support.c 2008-01-04 22:12:32.000000000 +0200 +@@ -24,7 +24,7 @@ + + #include "support.h" + +-void strip_unicode(gchar * data, gsize len) ++void strip_unicode(guchar * data, gsize len) + { + gsize i = 0; + +--- a/src/support.h.org 2007-12-17 18:21:46.000000000 +0200 ++++ a/src/support.h 2008-01-04 22:24:15.000000000 +0200 +@@ -31,7 +31,7 @@ + #include <stdlib.h> + #include <unistd.h> + +-void strip_unicode(gchar * data, gsize len); ++void strip_unicode(guchar * data, gsize len); + gint play_file(gchar * filename, gint playlist); + gint detect_playlist(gchar * filename); + gint parse_playlist(gchar * filename); |