Mercurial > libavcodec.hg
diff aac_ac3_parser.h @ 6643:4d04fcb5e1e4 libavcodec
Add new_frame_start and need_next_header.
based on a patch by Bartlomiej
author | michael |
---|---|
date | Sat, 19 Apr 2008 01:59:55 +0000 |
parents | 866b9ade048c |
children | 459fe563a4dc |
line wrap: on
line diff
--- a/aac_ac3_parser.h Sat Apr 19 01:50:40 2008 +0000 +++ b/aac_ac3_parser.h Sat Apr 19 01:59:55 2008 +0000 @@ -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 @@ ParseContext pc; int remaining_size; uint64_t state; + + int need_next_header; } AACAC3ParseContext; int ff_aac_ac3_parse(AVCodecParserContext *s1,