changeset 1397:86242883ddc7 trunk

[svn] - handle a situation where ID3 tags are bolted on the front. (BladeEnc -- I am looking at you, and I am not very happy.)
author nenolod
date Wed, 12 Jul 2006 21:16:35 -0700
parents b63b5c47efd9
children 1ddaf20ab50e
files ChangeLog Plugins/Input/mpg123/mpg123.c
diffstat 2 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Jul 12 11:25:26 2006 -0700
+++ b/ChangeLog	Wed Jul 12 21:16:35 2006 -0700
@@ -1,3 +1,12 @@
+2006-07-12 18:25:26 +0000  Derek Pomery <nemo@m8y.org>
+  revision [1706]
+  This alert is uninformative and due to design, spawns repeatedly instead of using one window.  No other plugin does this, and if it is considered useful, should perhaps go to some sort of log window.
+  
+
+  Changes:        Modified:
+  +1 -1           trunk/Plugins/Input/adplug/adplug-xmms.cc  
+
+
 2006-07-12 15:19:01 +0000  William Pitcock <nenolod@nenolod.net>
   revision [1704]
   - revert botched patch
--- a/Plugins/Input/mpg123/mpg123.c	Wed Jul 12 11:25:26 2006 -0700
+++ b/Plugins/Input/mpg123/mpg123.c	Wed Jul 12 21:16:35 2006 -0700
@@ -286,6 +286,11 @@
         return FALSE;
     if (vfs_fread(tmp, 1, 4, file) != 4)
         goto done;
+    if (!memcmp(tmp, "ID3", 3))
+    {
+	ret = TRUE;
+	goto done;
+    }
     head = convert_to_header(tmp);
     while (!mpgdec_head_check(head)) {
         /*