diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-04-19 01:59:55 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-04-19 01:59:55 +0000 |
commit | 133ac890fbe48b2989a257eb58bfc0b3690ee054 (patch) | |
tree | b61a61945cc719a15eda2e351c751c687a880079 /libavcodec/aac_ac3_parser.h | |
parent | 454064ad1eb39ffbea4906dbe2e246e18a5d5d67 (diff) | |
download | ffmpeg-133ac890fbe48b2989a257eb58bfc0b3690ee054.tar.gz |
Add new_frame_start and need_next_header.
based on a patch by Bartlomiej
Originally committed as revision 12895 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aac_ac3_parser.h')
-rw-r--r-- | libavcodec/aac_ac3_parser.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/aac_ac3_parser.h b/libavcodec/aac_ac3_parser.h index cb84b8d7b0..37a94c8d50 100644 --- a/libavcodec/aac_ac3_parser.h +++ b/libavcodec/aac_ac3_parser.h @@ -29,7 +29,8 @@ typedef struct AACAC3ParseContext { int frame_size; int header_size; - int (*sync)(uint64_t state, struct AACAC3ParseContext *hdr_info); + int (*sync)(uint64_t state, struct AACAC3ParseContext *hdr_info, + int *need_next_header, int *new_frame_start); int channels; int sample_rate; @@ -39,6 +40,8 @@ typedef struct AACAC3ParseContext { ParseContext pc; int remaining_size; uint64_t state; + + int need_next_header; } AACAC3ParseContext; int ff_aac_ac3_parse(AVCodecParserContext *s1, |