X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=error.h;h=0d2566d7b480e13eba20320561562965d32690c1;hb=620c2a3eb4c3395c5be73f663435740ecd878775;hp=7553699c534300c907d2989135fe1c8ff5d88cfa;hpb=226ce82aaccff7e74a6fadd028743b731a3744d2;p=paraslash.git diff --git a/error.h b/error.h index 7553699c..0d2566d7 100644 --- a/error.h +++ b/error.h @@ -35,10 +35,14 @@ DEFINE_ERRLIST_OBJECT_ENUM; #define AFS_COMMAND_LIST_ERRORS #define AUDIOD_COMMAND_LIST_ERRORS #define WMA_AFH_ERRORS -#define WMA_COMMON_ERRORS extern const char **para_errlist[]; +#define WMA_COMMON_ERRORS \ + PARA_ERROR(WMA_NO_GUID, "audio stream guid not found"), \ + PARA_ERROR(WMA_BAD_ASF_HEADER, "invalid asf header"), \ + + #define WMADEC_FILTER_ERRORS \ PARA_ERROR(WMA_BAD_PARAMS, "invalid WMA parameters"), \ PARA_ERROR(WMA_OUTPUT_SPACE, "insufficient output space"), \