diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-04-19 01:50:40 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-04-19 01:50:40 +0000 |
commit | 454064ad1eb39ffbea4906dbe2e246e18a5d5d67 (patch) | |
tree | d61c90f42b93b89da1d61de46295e39d26afdedd /libavcodec/aac_ac3_parser.h | |
parent | bf237413f31ceb4a147c064e5693468b6c9c2a10 (diff) | |
download | ffmpeg-454064ad1eb39ffbea4906dbe2e246e18a5d5d67.tar.gz |
Change aac and ac3 parsers to use ff_combine_frame().
Originally committed as revision 12894 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aac_ac3_parser.h')
-rw-r--r-- | libavcodec/aac_ac3_parser.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libavcodec/aac_ac3_parser.h b/libavcodec/aac_ac3_parser.h index f93f8a81e9..cb84b8d7b0 100644 --- a/libavcodec/aac_ac3_parser.h +++ b/libavcodec/aac_ac3_parser.h @@ -27,16 +27,18 @@ #include "avcodec.h" typedef struct AACAC3ParseContext { - uint8_t *inbuf_ptr; int frame_size; int header_size; - int (*sync)(struct AACAC3ParseContext *hdr_info); - uint8_t inbuf[8192]; /* input buffer */ + int (*sync)(uint64_t state, struct AACAC3ParseContext *hdr_info); int channels; int sample_rate; int bit_rate; int samples; + + ParseContext pc; + int remaining_size; + uint64_t state; } AACAC3ParseContext; int ff_aac_ac3_parse(AVCodecParserContext *s1, |