changeset 1369:2449f180912d trunk

[svn] - bitch about invalid bitstreams right in the middle of our stream
author nenolod
date Tue, 04 Jul 2006 00:46:20 -0700
parents 9dc0ce1fd3cd
children f969fe246497
files ChangeLog Plugins/Input/mpg123/common.c
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Jul 04 00:37:37 2006 -0700
+++ b/ChangeLog	Tue Jul 04 00:46:20 2006 -0700
@@ -1,3 +1,12 @@
+2006-07-04 07:37:37 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1650]
+  - having taglib_file, taglib_tag in the global namespace is not thread safe, and unnecessary.
+  
+
+  Changes:        Modified:
+  +11 -7          trunk/Plugins/Input/mpg123/mpg123.c  
+
+
 2006-07-04 07:25:25 +0000  William Pitcock <nenolod@nenolod.net>
   revision [1648]
   - fix a regression involving large ID3 tags being bolted right in the middle of a fraunhofer VBRX TOC (iTunes fucking fails)
--- a/Plugins/Input/mpg123/common.c	Tue Jul 04 00:37:37 2006 -0700
+++ b/Plugins/Input/mpg123/common.c	Tue Jul 04 00:46:20 2006 -0700
@@ -259,7 +259,7 @@
         if (try >= (1024 * 1024))
             return FALSE;
 	if (try >= 0)
-	    g_print("mpgdec: illegal bitstream in the middle of the MPEG stream, skipped %d bytes\n", try);
+	    g_log("mpgdec", G_LOG_LEVEL_WARNING, "mpgdec: illegal bitstream in the middle of the MPEG stream, skipped %d bytes", try);
 
         mpgdec_info->filesize -= try;
     }