Revision c614d32e

View differences:

libavcodec/vc1dec.c
1376 1376
    if (index != vc1_ac_sizes[codingset] - 1) {
1377 1377
        run = vc1_index_decode_table[codingset][index][0];
1378 1378
        level = vc1_index_decode_table[codingset][index][1];
1379
        lst = index >= vc1_last_decode_table[codingset];
1379
        lst = index >= vc1_last_decode_table[codingset] || get_bits_left(gb) < 0;
1380 1380
        if(get_bits1(gb))
1381 1381
            level = -level;
1382 1382
    } else {

Also available in: Unified diff