Revision 40056c32 libavcodec/vp6.c

View differences:

libavcodec/vp6.c
135 135
    if (coeff_offset) {
136 136
        buf      += coeff_offset;
137 137
        buf_size -= coeff_offset;
138
        if (buf_size < 0)
139
            return 0;
138 140
        if (s->use_huffman) {
139 141
            s->parse_coeff = vp6_parse_coeff_huffman;
140 142
            init_get_bits(&s->gb, buf, buf_size<<3);

Also available in: Unified diff