diff options
Diffstat (limited to 'libavcodec/ac3_parser.h')
-rw-r--r-- | libavcodec/ac3_parser.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/ac3_parser.h b/libavcodec/ac3_parser.h index fb35b975be..c6230341d7 100644 --- a/libavcodec/ac3_parser.h +++ b/libavcodec/ac3_parser.h @@ -25,6 +25,13 @@ #include "ac3.h" +typedef enum { + AC3_PARSE_ERROR_SYNC = -1, + AC3_PARSE_ERROR_BSID = -2, + AC3_PARSE_ERROR_SAMPLE_RATE = -3, + AC3_PARSE_ERROR_FRAME_SIZE = -4, +} AC3ParseError; + /** * Parses AC-3 frame header. * Parses the header up to the lfeon element, which is the first 52 or 54 bits |