# HG changeset patch
# User Darren Salt <linux@youmustbejoking.demon.co.uk>
# Date 1218057215 -3600
# Node ID 803b99d8a4b8f0ff7cf5f617a8f7e648780fefe8
# Parent  4519eeeda3b3a20489b3699693d801c3696221da
Fix crashes with MP3 files with metadata consisting only of separators.

diff --git a/ChangeLog b/ChangeLog
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,7 @@ xine-lib (1.1.15) 2008-??-??
     - Delay preallocating video frames until we know how large they'll be
     - Only try and set the tuner if we're going to use it. Setting the tuner
       when using baseband video (CVBS, S-Video) breaks the input.
+  * Fix crashes with MP3 files with metadata consisting only of separators.
   * Fix crashes with fuzzed Windows Media files.
 
 xine-lib (1.1.14) 2008-06-29
# HG changeset patch
# User Darren Salt <linux@youmustbejoking.demon.co.uk>
# Date 1218058477 -3600
# Node ID 60ab5d2bdd82f00b10205f816a545337c9363134
# Parent  803b99d8a4b8f0ff7cf5f617a8f7e648780fefe8
Really fix the metadata bug...

diff --git a/src/xine-engine/info_helper.c b/src/xine-engine/info_helper.c
--- a/src/xine-engine/info_helper.c
+++ b/src/xine-engine/info_helper.c
@@ -131,7 +131,7 @@ uint32_t _x_stream_info_get_public(xine_
  * at the end of the string
  */
 static void meta_info_chomp(char *str) {
-  size_t i, len;
+  ssize_t i, len;
 
   len = strlen(str);
   if (!len)
