add new error codes
[flac.git] / include / FLAC / stream_decoder.h
index 756ac46..46ade23 100644 (file)
@@ -27,7 +27,6 @@ typedef enum {
        FLAC__STREAM_DECODER_READ_METADATA,
        FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC,
        FLAC__STREAM_DECODER_READ_FRAME,
-       FLAC__STREAM_DECODER_RESYNC_IN_HEADER,
        FLAC__STREAM_DECODER_END_OF_STREAM,
        FLAC__STREAM_DECODER_ABORTED,
        FLAC__STREAM_DECODER_UNPARSEABLE_STREAM,
@@ -50,7 +49,9 @@ typedef enum {
 extern const char *FLAC__StreamDecoderWriteStatusString[];
 
 typedef enum {
-       FLAC__STREAM_DECODER_ERROR_LOST_SYNC
+       FLAC__STREAM_DECODER_ERROR_LOST_SYNC,
+       FLAC__STREAM_DECODER_ERROR_BAD_HEADER,
+       FLAC__STREAM_DECODER_ERROR_FRAME_CRC_MISMATCH
 } FLAC__StreamDecoderErrorStatus;
 extern const char *FLAC__StreamDecoderErrorStatusString[];