/* Read number of consecutive blocks with null DC or AC. This value is < 74.  */
static unsigned vp6_get_nb_null(VP56Context *s)
/* Read number of consecutive blocks with null DC or AC. This value is < 74.  */
static unsigned vp6_get_nb_null(VP56Context *s)
{
    unsigned val = get_bits(&s->gb, 2);
    if (val == 2)
        val += get_bits(&s->gb, 2);
    else if (val == 3) {
        val = get_bits1(&s->gb) << 2;
        val = 6+val + get_bits(&s->gb, 2+val);
    }
    return val;
}