Revision 984ff38a libavcodec/ac3dec.c

View differences:

libavcodec/ac3dec.c
1143 1143
        memcpy(s->input_buffer, buf, FFMIN(buf_size, AC3_MAX_FRAME_SIZE));
1144 1144
        init_get_bits(&s->gbc, s->input_buffer, buf_size * 8);
1145 1145
    } else {
1146
    init_get_bits(&s->gbc, buf, buf_size * 8);
1146
        init_get_bits(&s->gbc, buf, buf_size * 8);
1147 1147
    }
1148 1148

  
1149 1149
    /* parse the syncinfo */

Also available in: Unified diff