Add setjmp/longjmp for ARM and ColdFire to the codec lib, and use it in the Vorbis...
commitf4515c3082dd413017ae06c25d7e85b1dcee30bf
authorMagnus Holmgren <magnushol@gmail.com>
Sun, 8 Mar 2009 12:48:58 +0000 (8 12:48 +0000)
committerMagnus Holmgren <magnushol@gmail.com>
Sun, 8 Mar 2009 12:48:58 +0000 (8 12:48 +0000)
tree1154b2fd5049aa42a1fdd2047effd39e9da1ccaa
parent3f69bb2b1d00ccc54e2097fd9da750fcd2f7e11b
Add setjmp/longjmp for ARM and ColdFire to the codec lib, and use it in the Vorbis codec to better handle out of memory conditions (to exit rather than crash; the AAC codec could use it too). setjmp/longjmp comes from newlib 1.17.0 with a few minor changes (combine parts of some files, remove support for some architectures, change some ifdef's).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20235 a1c6a512-1295-4272-9138-f99709370657
apps/codecs/lib/SOURCES
apps/codecs/lib/setjmp.h [new file with mode: 0644]
apps/codecs/lib/setjmp_arm.S [new file with mode: 0644]
apps/codecs/lib/setjmp_cf.S [new file with mode: 0644]
apps/codecs/libtremor/oggmalloc.c
apps/codecs/vorbis.c