comparison libfaad2/error.c @ 12527:4a370c80fe5c

update to the 2.0 release of faad, patch by adland
author diego
date Wed, 02 Jun 2004 22:59:04 +0000
parents e989150f8216
children d81145997036
comparison
equal deleted inserted replaced
12526:e183ad37d24c 12527:4a370c80fe5c
1 /* 1 /*
2 ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 2 ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
3 ** Copyright (C) 2003 M. Bakker, Ahead Software AG, http://www.nero.com 3 ** Copyright (C) 2003-2004 M. Bakker, Ahead Software AG, http://www.nero.com
4 ** 4 **
5 ** This program is free software; you can redistribute it and/or modify 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 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 7 ** the Free Software Foundation; either version 2 of the License, or
8 ** (at your option) any later version. 8 ** (at your option) any later version.
20 ** forbidden. 20 ** forbidden.
21 ** 21 **
22 ** Commercial non-GPL licensing of this software is possible. 22 ** Commercial non-GPL licensing of this software is possible.
23 ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com. 23 ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com.
24 ** 24 **
25 ** $Id: error.c,v 1.10 2003/07/29 08:20:12 menno Exp $ 25 ** $Id: error.c,v 1.1 2003/08/30 22:30:21 arpi Exp $
26 **/ 26 **/
27 27
28 #include "common.h" 28 #include "common.h"
29 #include "error.h" 29 #include "error.h"
30 30
31 extern int8_t *err_msg[] = { 31 int8_t *err_msg[] = {
32 "No error", 32 "No error",
33 "Gain control not yet implemented", 33 "Gain control not yet implemented",
34 "Pulse coding not allowed in short blocks", 34 "Pulse coding not allowed in short blocks",
35 "Invalid huffman codebook", 35 "Invalid huffman codebook",
36 "Negative scalefactor found, should be impossible", 36 "Negative scalefactor found, should be impossible",
39 "Channel configuration not allowed in error resilient frame", 39 "Channel configuration not allowed in error resilient frame",
40 "Bit error in error resilient scalefactor decoding", 40 "Bit error in error resilient scalefactor decoding",
41 "Error decoding huffman scalefactor (bitstream error)", 41 "Error decoding huffman scalefactor (bitstream error)",
42 "Error decoding huffman codeword (bitstream error)", 42 "Error decoding huffman codeword (bitstream error)",
43 "Non existent huffman codebook number found", 43 "Non existent huffman codebook number found",
44 "Maximum number of channels exceeded", 44 "Invalid number of channels",
45 "Maximum number of bitstream elements exceeded", 45 "Maximum number of bitstream elements exceeded",
46 "Input data buffer too small", 46 "Input data buffer too small",
47 "Array index out of range", 47 "Array index out of range",
48 "Maximum number of scalefactor bands exceeded" 48 "Maximum number of scalefactor bands exceeded",
49 "Quantised value out of range",
50 "LTP lag out of range",
51 "Invalid SBR parameter decoded",
52 "SBR called without being initialised",
53 "Unexpected channel configuration change",
54 "Error in program_config_element",
55 "First SBR frame is not the same as first AAC frame",
56 "Unexpected fill element with SBR data",
57 "Not all elements were provided with SBR data"
49 }; 58 };
59