summaryrefslogtreecommitdiff
path: root/apps/codecs/libfaad/error.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-10 19:04:24 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-10 19:04:24 +0000
commit03e23d111385161afc917abe21b19cf8761e0440 (patch)
tree8c0b71ce052e9f410ee08bb80f932363b3d5d45c /apps/codecs/libfaad/error.c
parent78b0f94c76e7d176bf24ab2c9a49f67b32537cc2 (diff)
downloadrockbox-03e23d111385161afc917abe21b19cf8761e0440.zip
rockbox-03e23d111385161afc917abe21b19cf8761e0440.tar.gz
rockbox-03e23d111385161afc917abe21b19cf8761e0440.tar.bz2
rockbox-03e23d111385161afc917abe21b19cf8761e0440.tar.xz
Implement error handling for libfaad's memory allocation. Do not allocate PS related types dynamically anymore to minimize code changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29854 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libfaad/error.c')
-rw-r--r--apps/codecs/libfaad/error.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/codecs/libfaad/error.c b/apps/codecs/libfaad/error.c
index 8cfd761..ff2f9c3 100644
--- a/apps/codecs/libfaad/error.c
+++ b/apps/codecs/libfaad/error.c
@@ -56,6 +56,7 @@ char *err_msg[] = {
"Unexpected fill element with SBR data",
"Not all elements were provided with SBR data",
"LTP decoding not available",
- "Output data buffer too small"
+ "Output data buffer too small",
+ "Could not allocate enough memory"
};