# HG changeset patch # User nenolod # Date 1151999323 25200 # Node ID f969fe2464973fac9af06615cbb4a958804a2add # Parent 2449f180912d5beacb00db4f2ac7058719b8c0e1 [svn] - make this a compile-time define diff -r 2449f180912d -r f969fe246497 ChangeLog --- 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 + 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 revision [1650] - having taglib_file, taglib_tag in the global namespace is not thread safe, and unnecessary. diff -r 2449f180912d -r f969fe246497 Plugins/Input/mpg123/common.c --- 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 */