Revision ffedb5c1 libavcodec/rv34.c

View differences:

libavcodec/rv34.c
367 367
{
368 368
    int i;
369 369
    for(i = 0; i < 5; i++)
370
        if(rv34_mb_max_sizes[i] > mb_size)
370
        if(rv34_mb_max_sizes[i] >= mb_size - 1)
371 371
            break;
372 372
    return rv34_mb_bits_sizes[i];
373 373
}

Also available in: Unified diff