Revision be1e2a2b libavcodec/aac_ac3_parser.c

View differences:

libavcodec/aac_ac3_parser.c
29 29
                     const uint8_t *buf, int buf_size)
30 30
{
31 31
    AACAC3ParseContext *s = s1->priv_data;
32
    AACAC3FrameFlag frame_flag;
32 33
    const uint8_t *buf_ptr;
33 34
    int len;
34 35

  
......
50 51

  
51 52
        if (s->frame_size == 0) {
52 53
            if ((s->inbuf_ptr - s->inbuf) == s->header_size) {
53
                len = s->sync(s);
54
                len = s->sync(s, &frame_flag);
54 55
                if (len == 0) {
55 56
                    /* no sync found : move by one byte (inefficient, but simple!) */
56 57
                    memmove(s->inbuf, s->inbuf + 1, s->header_size - 1);

Also available in: Unified diff