mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
add new error codes
This commit is contained in:
@@ -27,7 +27,6 @@ typedef enum {
|
|||||||
FLAC__STREAM_DECODER_READ_METADATA,
|
FLAC__STREAM_DECODER_READ_METADATA,
|
||||||
FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC,
|
FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC,
|
||||||
FLAC__STREAM_DECODER_READ_FRAME,
|
FLAC__STREAM_DECODER_READ_FRAME,
|
||||||
FLAC__STREAM_DECODER_RESYNC_IN_HEADER,
|
|
||||||
FLAC__STREAM_DECODER_END_OF_STREAM,
|
FLAC__STREAM_DECODER_END_OF_STREAM,
|
||||||
FLAC__STREAM_DECODER_ABORTED,
|
FLAC__STREAM_DECODER_ABORTED,
|
||||||
FLAC__STREAM_DECODER_UNPARSEABLE_STREAM,
|
FLAC__STREAM_DECODER_UNPARSEABLE_STREAM,
|
||||||
@@ -50,7 +49,9 @@ typedef enum {
|
|||||||
extern const char *FLAC__StreamDecoderWriteStatusString[];
|
extern const char *FLAC__StreamDecoderWriteStatusString[];
|
||||||
|
|
||||||
typedef enum {
|
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;
|
} FLAC__StreamDecoderErrorStatus;
|
||||||
extern const char *FLAC__StreamDecoderErrorStatusString[];
|
extern const char *FLAC__StreamDecoderErrorStatusString[];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user