diff options
author | Dave Chapman <dave@dchapman.com> | 2009-10-04 08:49:23 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2009-10-04 08:49:23 +0000 |
commit | 9546e4093d8a6f9b27c06db242894c3dc9d9f574 (patch) | |
tree | 5d7571051b6d08993448ba3493c0bd678998f1fe /apps/codecs/libtremor/vorbisfile.c | |
parent | ccec5cfe79025b4f203619a0d8b4083445e6063c (diff) | |
download | rockbox-9546e4093d8a6f9b27c06db242894c3dc9d9f574.tar.gz rockbox-9546e4093d8a6f9b27c06db242894c3dc9d9f574.zip |
Add STATICIRAM_NOT_MDCT as a workaround for the gcc bug where static functions are not long called. This is currently only an issue on the Nano2G (S5L8701 CPU) which is the only ARM target with enough IRAM for these functions. Also add multiple-inclusion protection for config-tremor.h. All plugins and codecs now compile cleanly for the Nano2G.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22914 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libtremor/vorbisfile.c')
-rw-r--r-- | apps/codecs/libtremor/vorbisfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libtremor/vorbisfile.c b/apps/codecs/libtremor/vorbisfile.c index 8c81c63b7d..1e0336603c 100644 --- a/apps/codecs/libtremor/vorbisfile.c +++ b/apps/codecs/libtremor/vorbisfile.c | |||
@@ -684,10 +684,10 @@ static void _decode_clear(OggVorbis_File *vf){ | |||
684 | 1) got a packet | 684 | 1) got a packet |
685 | */ | 685 | */ |
686 | 686 | ||
687 | static int _fetch_and_process_packet(OggVorbis_File *vf, | 687 | STATICIRAM_NOT_MDCT int _fetch_and_process_packet(OggVorbis_File *vf, |
688 | int readp, | 688 | int readp, |
689 | int spanp) ICODE_ATTR_TREMOR_NOT_MDCT; | 689 | int spanp) ICODE_ATTR_TREMOR_NOT_MDCT; |
690 | static int _fetch_and_process_packet(OggVorbis_File *vf, | 690 | STATICIRAM_NOT_MDCT int _fetch_and_process_packet(OggVorbis_File *vf, |
691 | int readp, | 691 | int readp, |
692 | int spanp){ | 692 | int spanp){ |
693 | ogg_page og={0,0,0,0}; | 693 | ogg_page og={0,0,0,0}; |