tag 391810 +patch
thanks

mp3info.c improperly calculates chunk size in mp3s (as deduced from
reading source code and this documentation:
http://www.oreilly.com/catalog/mp3/chapter/ch02.html), which resulted
in 1000 lseek(2)s file for each mp3 frame.

Attached is the patch which fixes this ugly behavior.

-- 
JID: [EMAIL PROTECTED]
--- gtkpod-0.99.4.orig/src/mp3file.c
+++ gtkpod-0.99.4/src/mp3file.c
@@ -204,7 +204,7 @@
 
 
 static gint mp3file_header_bitrate(MP3Header *h) {
-    return bitrate[h->version & 1][3-h->layer][h->bitrate];
+    return bitrate[h->version & 1][3-h->layer][h->bitrate] * 1000;
 }
 
 

Reply via email to