diff options
author | Alex Converse <alex.converse@gmail.com> | 2009-01-07 18:10:10 +0000 |
---|---|---|
committer | Robert Swain <robert.swain@gmail.com> | 2009-01-07 18:10:10 +0000 |
commit | 11d6f38cc997d70f687a3546af896b76b447ce0d (patch) | |
tree | 73cddb91070c9d29201c425fc4dec2787fb1ad3e /libavcodec/aac_ac3_parser.h | |
parent | 4b82e3cedcfc9871671bb613cd979de6995dcb4e (diff) | |
download | ffmpeg-11d6f38cc997d70f687a3546af896b76b447ce0d.tar.gz |
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 )
Originally committed as revision 16479 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aac_ac3_parser.h')
-rw-r--r-- | libavcodec/aac_ac3_parser.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/aac_ac3_parser.h b/libavcodec/aac_ac3_parser.h index b2fc0afde8..b8613d8d57 100644 --- a/libavcodec/aac_ac3_parser.h +++ b/libavcodec/aac_ac3_parser.h @@ -27,6 +27,16 @@ #include "avcodec.h" #include "parser.h" +typedef enum { + AAC_AC3_PARSE_ERROR_SYNC = -1, + AAC_AC3_PARSE_ERROR_BSID = -2, + AAC_AC3_PARSE_ERROR_SAMPLE_RATE = -3, + AAC_AC3_PARSE_ERROR_FRAME_SIZE = -4, + AAC_AC3_PARSE_ERROR_FRAME_TYPE = -5, + AAC_AC3_PARSE_ERROR_CRC = -6, + AAC_AC3_PARSE_ERROR_CHANNEL_CFG = -7, +} AACAC3ParseError; + typedef struct AACAC3ParseContext { ParseContext pc; int frame_size; |