Complete re-write of the ogg vorbis audio format handler.
[paraslash.git] / error.h
diff --git a/error.h b/error.h
index c53ab89a3b15192285de2f13048c4340c1fcd070..4ec9da859752bb7d9b3328bd9b5ef86b1c47d855 100644 (file)
--- a/error.h
+++ b/error.h
@@ -152,7 +152,6 @@ extern const char **para_errlist[];
 #define MOOD_ERRORS \
        PARA_ERROR(MOOD_SYNTAX, "mood syntax error"), \
        PARA_ERROR(NO_MOOD, "no mood available"), \
-       PARA_ERROR(NOT_ADMISSIBLE, "file is not admissible"), \
        PARA_ERROR(DUMMY_ROW, "attempted to access blob dummy object"), \
 
 
@@ -341,15 +340,12 @@ extern const char **para_errlist[];
 
 
 #define OGG_AFH_ERRORS \
-       PARA_ERROR(OGG_READ, "ogg read error"), \
        PARA_ERROR(SYNC_PAGEOUT, "ogg sync page-out error (no ogg file?)"), \
        PARA_ERROR(STREAM_PAGEIN, "ogg stream page-in error (first page)"), \
        PARA_ERROR(STREAM_PACKETOUT, "ogg stream packet-out error (first packet)"), \
        PARA_ERROR(VORBIS, "vorbis synthesis header-in error (not vorbis?)"), \
-       PARA_ERROR(OGG_INFO, "ov_info error"), \
-       PARA_ERROR(OGG_VERSION, "unsupported ogg version"), \
-       PARA_ERROR(OGG_BAD_HEADER, "invalid ogg vorbis header"), \
-       PARA_ERROR(OGG_UNKNOWN_ERROR, "unknown ogg vorbis error"), \
+       PARA_ERROR(OGG_SYNC, "internal ogg storage overflow"), \
+       PARA_ERROR(OGG_EMPTY, "no ogg pages found"), \
 
 
 #define VSS_ERRORS \