add new error codes
authorJosh Coalson <jcoalson@users.sourceforce.net>
Tue, 27 Mar 2001 01:17:39 +0000 (01:17 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Tue, 27 Mar 2001 01:17:39 +0000 (01:17 +0000)
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[];