fix crashes reported by Debian Cylab Mayhem Team
[swftools.git] / lib / lame / lameerror.h
bloba4b97571e20270ef590e4fd12c53a0f379121c60
1 /*
2 * A collection of LAME Error Codes
4 * Please use the constants defined here instead of some arbitrary
5 * values. Currently the values starting at -10 to avoid intersection
6 * with the -1, -2, -3 and -4 used in the current code.
8 * May be this should be a part of the include/lame.h.
9 */
11 typedef enum {
12 LAME_OKAY = 0,
13 LAME_NOERROR = 0,
14 LAME_GENERICERROR = -1,
15 LAME_NOMEM = -10,
16 LAME_BADBITRATE = -11,
17 LAME_BADSAMPFREQ = -12,
18 LAME_INTERNALERROR = -13,
20 FRONTEND_READERROR = -80,
21 FRONTEND_WRITEERROR = -81,
22 FRONTEND_FILETOOLARGE = -82,
24 } lame_errorcodes_t;
26 /* end of lameerror.h */