X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=error.h;h=ee5bac349a089f92130eba44de2c6819949dbf87;hp=33d09f28c9e6530c6c44de32d6dbd6e6f2ec59f1;hb=749779fab22f802e41472a31db5a84b9b6314996;hpb=f481eaddec671c3783cc098d65be29ea16ee81b1 diff --git a/error.h b/error.h index 33d09f28..ee5bac34 100644 --- a/error.h +++ b/error.h @@ -34,10 +34,14 @@ DEFINE_ERRLIST_OBJECT_ENUM; #define SERVER_COMMAND_LIST_ERRORS #define AFS_COMMAND_LIST_ERRORS #define AUDIOD_COMMAND_LIST_ERRORS -#define WMA_AFH_ERRORS +#define BITSTREAM_ERRORS extern const char **para_errlist[]; +#define WMA_AFH_ERRORS \ + PARA_ERROR(NO_WMA, "asf/wma format not recognized"), \ + + #define WMA_COMMON_ERRORS \ PARA_ERROR(WMA_NO_GUID, "audio stream guid not found"), \ PARA_ERROR(WMA_BAD_ASF_HEADER, "invalid asf header"), \ @@ -51,11 +55,6 @@ extern const char **para_errlist[]; PARA_ERROR(INCOHERENT_BLOCK_LEN, "incoherent block length"), \ -#define BITSTREAM_ERRORS \ - PARA_ERROR(TABLE_ALLOC, "failed to allocate table"), \ - PARA_ERROR(BAD_CODES, "detected incorrect codes") - - #define IMDCT_ERRORS \ PARA_ERROR(FFT_BAD_PARAMS, "invalid params for fft"), \