aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/aac_ac3_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/aac_ac3_parser.h')
-rw-r--r--libavcodec/aac_ac3_parser.h5
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,