changeset 2820:4151640654ae

16 tries arn't enough, we need 256 when the ID3 tag includes pictures.
author Jonathan Schleifer <js-audacious@webkeks.org>
date Sun, 13 Jul 2008 15:54:39 +0200
parents a03d670e8752
children 6a31fa1c2803 5389a40f3566
files src/madplug/plugin.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/madplug/plugin.c	Sat Jul 12 16:00:03 2008 +0200
+++ b/src/madplug/plugin.c	Sun Jul 13 15:54:39 2008 +0200
@@ -488,8 +488,8 @@
             }
             break;
         }
-    } while (state != STATE_FATAL && tries < 16);
-    /* Give up after 16 failed resync attempts or fatal errors */
+    } while (state != STATE_FATAL && tries < 256);
+    /* Give up after 256 failed resync attempts or fatal errors */
 
     g_message("Rejecting %s (not an MP3 file?)", filename);
     return 0;