summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2008-05-05 10:49:31 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2008-05-05 10:49:31 +0000
commit367aec35d714e4b3f87184ea718538c1b5800462 (patch)
tree57965da980002a66495e7dad2de26b6db48615ce
parent357ffb3c46a6c371fd84b56acd6f69cb6aad9bb8 (diff)
downloadrockbox-367aec35d714e4b3f87184ea718538c1b5800462.tar.gz
rockbox-367aec35d714e4b3f87184ea718538c1b5800462.zip
Fix a couple quirks from the previous commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17370 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/libfaad/syntax.c4
-rw-r--r--rbutil/ipodpatcher/fat32format.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/libfaad/syntax.c b/apps/codecs/libfaad/syntax.c
index 595f69fff6..9476029932 100644
--- a/apps/codecs/libfaad/syntax.c
+++ b/apps/codecs/libfaad/syntax.c
@@ -2065,11 +2065,11 @@ static uint16_t extension_payload(bitfile *ld, drc_info *drc, uint16_t count)
2065 return n; 2065 return n;
2066 case EXT_FILL_DATA: 2066 case EXT_FILL_DATA:
2067 /* fill_nibble = */ faad_getbits(ld, 4 2067 /* fill_nibble = */ faad_getbits(ld, 4
2068 DEBUGVAR(1,136,"extension_payload(): fill_nibble")); /* must be æ0000Æ */ 2068 DEBUGVAR(1,136,"extension_payload(): fill_nibble")); /* must be "0000" */
2069 for (i = 0; i < count-1; i++) 2069 for (i = 0; i < count-1; i++)
2070 { 2070 {
2071 /* fill_byte[i] = */ faad_getbits(ld, 8 2071 /* fill_byte[i] = */ faad_getbits(ld, 8
2072 DEBUGVAR(1,88,"extension_payload(): fill_byte")); /* must be æ10100101Æ */ 2072 DEBUGVAR(1,88,"extension_payload(): fill_byte")); /* must be "10100101" */
2073 } 2073 }
2074 return count; 2074 return count;
2075 case EXT_DATA_ELEMENT: 2075 case EXT_DATA_ELEMENT:
diff --git a/rbutil/ipodpatcher/fat32format.c b/rbutil/ipodpatcher/fat32format.c
index 19500f49bf..a9417b22a2 100644
--- a/rbutil/ipodpatcher/fat32format.c
+++ b/rbutil/ipodpatcher/fat32format.c
@@ -392,7 +392,7 @@ int format_partition(struct ipod_t* ipod, int partition)
392 if ( qTotalSectors >= 0xffffffff ) 392 if ( qTotalSectors >= 0xffffffff )
393 { 393 {
394 /* This is a more fundamental limitation on FAT32 - the total 394 /* This is a more fundamental limitation on FAT32 - the total
395 sector count in the root dir ­s 32bit. With a bit of 395 sector count in the root dir is 32bit. With a bit of
396 creativity, FAT32 could be extended to handle at least 2^28 396 creativity, FAT32 could be extended to handle at least 2^28
397 clusters There would need to be an extra field in the 397 clusters There would need to be an extra field in the
398 FSInfo sector, and the old sector count could be set to 398 FSInfo sector, and the old sector count could be set to