Implement the flac decoding filter.
[paraslash.git] / error.h
diff --git a/error.h b/error.h
index 7a2b1617be8940d678933bd4687c5dee2e4de3f3..311b6ebdab1c4248acefd0c08d1c5346948ec996 100644 (file)
--- a/error.h
+++ b/error.h
@@ -35,10 +35,15 @@ DEFINE_ERRLIST_OBJECT_ENUM;
 #define FILE_WRITE_ERRORS
 #define STDIN_ERRORS
 #define WRITE_ERRORS
-#define FLACDEC_FILTER_ERRORS
 
 extern const char **para_errlist[];
 
+#define FLACDEC_FILTER_ERRORS \
+       PARA_ERROR(FLACDEC_DECODER_ALLOC, "could not allocate stream decoder"), \
+       PARA_ERROR(FLACDEC_DECODER_INIT, "could not init stream decoder"), \
+       PARA_ERROR(FLACDEC_EOF, "flacdec encountered end of file condition"), \
+
+
 #define FLAC_AFH_ERRORS \
        PARA_ERROR(FLAC_CHAIN_ALLOC, "could not create metadata chain"), \
        PARA_ERROR(FLAC_CHAIN_READ, "could not read meta chain"), \