changeset 1370:f969fe246497 trunk

[svn] - make this a compile-time define
author nenolod
date Tue, 04 Jul 2006 00:48:43 -0700
parents 2449f180912d
children ca4f3115d33c
files ChangeLog Plugins/Input/mpg123/common.c
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Jul 04 00:46:20 2006 -0700
+++ b/ChangeLog	Tue Jul 04 00:48:43 2006 -0700
@@ -1,3 +1,12 @@
+2006-07-04 07:46:20 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1652]
+  - bitch about invalid bitstreams right in the middle of our stream
+  
+
+  Changes:        Modified:
+  +1 -1           trunk/Plugins/Input/mpg123/common.c  
+
+
 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.
--- a/Plugins/Input/mpg123/common.c	Tue Jul 04 00:46:20 2006 -0700
+++ b/Plugins/Input/mpg123/common.c	Tue Jul 04 00:48:43 2006 -0700
@@ -258,9 +258,10 @@
                 !mpgdec_decode_header(fr, newhead)) && try < (1024 * 1024));
         if (try >= (1024 * 1024))
             return FALSE;
+#ifdef MPGDEC_INVBITSTREAM_NOTIFY
 	if (try >= 0)
 	    g_log("mpgdec", G_LOG_LEVEL_WARNING, "mpgdec: illegal bitstream in the middle of the MPEG stream, skipped %d bytes", try);
-
+#endif
         mpgdec_info->filesize -= try;
     }
     /* flip/init buffer for Layer 3 */