Revision 679c2294 libavcodec/ac3_parser.c

View differences:

libavcodec/ac3_parser.c
145 145

  
146 146
static int ac3_parse_init(AVCodecParserContext *s1)
147 147
{
148
    AC3ParseContext *s = s1->priv_data;
148
    AACAC3ParseContext *s = s1->priv_data;
149 149
    s->inbuf_ptr = s->inbuf;
150 150
    s->header_size = AC3_HEADER_SIZE;
151 151
    s->sync = ac3_sync;
......
155 155

  
156 156
AVCodecParser ac3_parser = {
157 157
    { CODEC_ID_AC3 },
158
    sizeof(AC3ParseContext),
158
    sizeof(AACAC3ParseContext),
159 159
    ac3_parse_init,
160
    ac3_parse,
160
    ff_aac_ac3_parse,
161 161
    NULL,
162 162
};

Also available in: Unified diff