blob: f048c305f274951b56e175b14d43847ded602ae4
1 | /* |
2 | ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding |
3 | ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com |
4 | ** |
5 | ** This program is free software; you can redistribute it and/or modify |
6 | ** it under the terms of the GNU General Public License as published by |
7 | ** the Free Software Foundation; either version 2 of the License, or |
8 | ** (at your option) any later version. |
9 | ** |
10 | ** This program is distributed in the hope that it will be useful, |
11 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | ** GNU General Public License for more details. |
14 | ** |
15 | ** You should have received a copy of the GNU General Public License |
16 | ** along with this program; if not, write to the Free Software |
17 | ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 | ** |
19 | ** Any non-GPL usage of this software or parts of this software is strictly |
20 | ** forbidden. |
21 | ** |
22 | ** The "appropriate copyright message" mentioned in section 2c of the GPLv2 |
23 | ** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" |
24 | ** |
25 | ** Commercial non-GPL licensing of this software is possible. |
26 | ** For more info contact Nero AG through Mpeg4AAClicense@nero.com. |
27 | ** |
28 | ** $Id: error.c,v 1.33 2008/09/19 23:31:39 menno Exp $ |
29 | **/ |
30 | |
31 | #include "common.h" |
32 | #include "error.h" |
33 | |
34 | char *err_msg[] = { |
35 | "No error", |
36 | "Gain control not yet implemented", |
37 | "Pulse coding not allowed in short blocks", |
38 | "Invalid huffman codebook", |
39 | "Scalefactor out of range", |
40 | "Unable to find ADTS syncword", |
41 | "Channel coupling not yet implemented", |
42 | "Channel configuration not allowed in error resilient frame", |
43 | "Bit error in error resilient scalefactor decoding", |
44 | "Error decoding huffman scalefactor (bitstream error)", |
45 | "Error decoding huffman codeword (bitstream error)", |
46 | "Non existent huffman codebook number found", |
47 | "Invalid number of channels", |
48 | "Maximum number of bitstream elements exceeded", |
49 | "Input data buffer too small", |
50 | "Array index out of range", |
51 | "Maximum number of scalefactor bands exceeded", |
52 | "Quantised value out of range", |
53 | "LTP lag out of range", |
54 | "Invalid SBR parameter decoded", |
55 | "SBR called without being initialised", |
56 | "Unexpected channel configuration change", |
57 | "Error in program_config_element", |
58 | "First SBR frame is not the same as first AAC frame", |
59 | "Unexpected fill element with SBR data", |
60 | "Not all elements were provided with SBR data", |
61 | "LTP decoding not available", |
62 | "Output data buffer too small", |
63 | "CRC error in DRM data", |
64 | "PNS not allowed in DRM data stream", |
65 | "No standard extension payload allowed in DRM", |
66 | "PCE shall be the first element in a frame", |
67 | "Bitstream value not allowed by specification", |
68 | "MAIN prediction not initialised", |
69 | "channel cofigure and sample rate changed ", |
70 | " more data needed", |
71 | }; |
72 | |
73 |