changeset 2729:c56305e38520

Make things less nazi.
author William Pitcock <nenolod@atheme.org>
date Sat, 28 Jun 2008 23:54:30 -0500
parents 229647ca4942
children 4b4038a10948
files src/madplug/plugin.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/madplug/plugin.c	Sun Jun 29 00:37:01 2008 +0300
+++ b/src/madplug/plugin.c	Sat Jun 28 23:54:30 2008 -0500
@@ -277,7 +277,7 @@
         ((guint32) hbuf[3]);
 }
 
-#if 0
+#if 1
 static gchar *mp3_ver_table[4] = { "2.5", "INVALID", "2", "1" };
 #define LULZ(...) do { fprintf(stderr, "madprobe: "); fprintf(stderr, __VA_ARGS__); } while (0)
 #define LOL(...) do { fprintf(stderr, __VA_ARGS__); } while (0)
@@ -396,7 +396,7 @@
                         /* Not similar frame... */
                         LOL(" .. but does not match (%d)!\n", chkcount);
                         state = STATE_RESYNC;
-                    } else if (chkcount >= 5) {
+                    } else if (chkcount >= 3) {
                         /* Okay, accept this stream */
                         LOL(" .. accepted as mp3!!!\n");
                         return 1;