summaryrefslogtreecommitdiff
path: root/libavcodec/aac_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/aac_parser.c')
-rw-r--r--libavcodec/aac_parser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/aac_parser.c b/libavcodec/aac_parser.c
index 3962289917..d6cf2693fc 100644
--- a/libavcodec/aac_parser.c
+++ b/libavcodec/aac_parser.c
@@ -80,7 +80,7 @@ static int aac_sync(const uint8_t *buf, int *channels, int *sample_rate,
static int aac_parse_init(AVCodecParserContext *s1)
{
- AC3ParseContext *s = s1->priv_data;
+ AACAC3ParseContext *s = s1->priv_data;
s->inbuf_ptr = s->inbuf;
s->header_size = AAC_HEADER_SIZE;
s->sync = aac_sync;
@@ -90,8 +90,8 @@ static int aac_parse_init(AVCodecParserContext *s1)
AVCodecParser aac_parser = {
{ CODEC_ID_AAC },
- sizeof(AC3ParseContext),
+ sizeof(AACAC3ParseContext),
aac_parse_init,
- ac3_parse,
+ ff_aac_ac3_parse,
NULL,
};