Mercurial > libavcodec.hg
diff ac3_parser.h @ 8545:a5402e89a80c libavcodec
Factorise enum of AC3 error types to be usable by AAC in the ADTS patch that
will follow
Patch by Alex Converse ( alex converse gmail com )
| author | superdump |
|---|---|
| date | Wed, 07 Jan 2009 18:10:10 +0000 |
| parents | c4a4495715dd |
| children | 04423b2f6e0b |
line wrap: on
line diff
--- a/ac3_parser.h Wed Jan 07 13:54:26 2009 +0000 +++ b/ac3_parser.h Wed Jan 07 18:10:10 2009 +0000 @@ -26,15 +26,6 @@ #include "ac3.h" #include "bitstream.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, - AC3_PARSE_ERROR_FRAME_TYPE = -5, - AC3_PARSE_ERROR_CRC = -6, -} AC3ParseError; - /** * Parses AC-3 frame header. * Parses the header up to the lfeon element, which is the first 52 or 54 bits
