[xiph-commits] r18937 - experimental/giles

giles at svn.xiph.org giles at svn.xiph.org
Wed May 8 15:43:45 PDT 2013


Author: giles
Date: 2013-05-08 15:43:45 -0700 (Wed, 08 May 2013)
New Revision: 18937

Modified:
   experimental/giles/mp3dump.c
Log:
Fix comment cut-and-paste error.

ID3v2 headers are 10 bytes, not 4, as the subsequent code expects.


Modified: experimental/giles/mp3dump.c
===================================================================
--- experimental/giles/mp3dump.c	2013-05-08 22:19:03 UTC (rev 18936)
+++ experimental/giles/mp3dump.c	2013-05-08 22:43:45 UTC (rev 18937)
@@ -129,7 +129,7 @@
 }
 
 static int is_id3(const unsigned char *p, const unsigned char *e) {
-  /* do we have enough room to see a 4 byte header? */
+  /* do we have enough room to see a 10 byte header? */
   if (p > e) return 0;
   if (e - p < 10) return 0;
   /* do we have a sync pattern? */



More information about the commits mailing list