X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=error.h;h=a99512fdb73816d22370f60f19501a884c5df3cf;hp=0d2566d7b480e13eba20320561562965d32690c1;hb=f50dd1b71b291e8bcb44c4ecf28e4cca1a050358;hpb=620c2a3eb4c3395c5be73f663435740ecd878775 diff --git a/error.h b/error.h index 0d2566d7..a99512fd 100644 --- a/error.h +++ b/error.h @@ -34,10 +34,13 @@ DEFINE_ERRLIST_OBJECT_ENUM; #define SERVER_COMMAND_LIST_ERRORS #define AFS_COMMAND_LIST_ERRORS #define AUDIOD_COMMAND_LIST_ERRORS -#define WMA_AFH_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"), \ @@ -56,7 +59,7 @@ extern const char **para_errlist[]; PARA_ERROR(BAD_CODES, "detected incorrect codes") -#define MDCT_ERRORS \ +#define IMDCT_ERRORS \ PARA_ERROR(FFT_BAD_PARAMS, "invalid params for fft"), \