commit 7205833542678660d322ee97b2a4b7dec7e4e1dc
Author: Adeodato Simó <[email protected]>
Date: Thu Jul 7 22:49:19 2011 +0200
fix parsing of timezone on some Classic
Some iPod Classic have a Preferences file which 4 bytes bigger than
what we expect, which prevented libgpod from parsing these files.
src/itdb_tzinfo.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/itdb_tzinfo.c b/src/itdb_tzinfo.c
index ded4dd2..3c29947 100644
--- a/src/itdb_tzinfo.c
+++ b/src/itdb_tzinfo.c
@@ -272,6 +272,7 @@ G_GNUC_INTERNAL void itdb_device_set_timezone_info
(Itdb_Device *device)
raw_timezone_converter = raw_timezone_to_utc_shift_5g;
break;
case 2952: /* seen on nano 3g and iPod classic */
+ case 2956: /* seen on iPod classic */
case 2960: /* seen on nano 4g */
offset = 0xb70;
raw_timezone_converter = raw_timezone_to_utc_shift_6g;
------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide. Store less, Store more with what you own, Move data to
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2