diff options
author | Dave Chapman <dave@dchapman.com> | 2005-06-07 19:41:40 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2005-06-07 19:41:40 +0000 |
commit | 3ac03bfc8042725e4a604122bcc903ac07ee73f9 (patch) | |
tree | e9e43128da0a7b0d11d9c33679028bd6568633c8 /apps | |
parent | 02e22ea1d51500f826b5646ddc4cd53dda3037f1 (diff) | |
download | rockbox-3ac03bfc8042725e4a604122bcc903ac07ee73f9.tar.gz rockbox-3ac03bfc8042725e4a604122bcc903ac07ee73f9.zip |
We need to increase MAX_EXTTYPES for software codecs - but maybe we should use a different #if test (the same test is made in tree.c)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6599 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/filetypes.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/filetypes.c b/apps/filetypes.c index b76ea27a8c..066b008762 100644 --- a/apps/filetypes.c +++ b/apps/filetypes.c | |||
@@ -43,7 +43,12 @@ | |||
43 | #define MAX_FILETYPES 32 | 43 | #define MAX_FILETYPES 32 |
44 | 44 | ||
45 | /* max exttypes (extensions stored here) */ | 45 | /* max exttypes (extensions stored here) */ |
46 | #if CONFIG_HWCODEC == MASNONE | ||
47 | /* Software codecs require more file extensions */ | ||
48 | #define MAX_EXTTYPES 64 | ||
49 | #else | ||
46 | #define MAX_EXTTYPES 32 | 50 | #define MAX_EXTTYPES 32 |
51 | #endif | ||
47 | 52 | ||
48 | /* string buffer length */ | 53 | /* string buffer length */ |
49 | #define STRING_BUFFER_SIZE 512 | 54 | #define STRING_BUFFER_SIZE 512 |