Revision bbe8fa1f libavcodec/alsdec.c

View differences:

libavcodec/alsdec.c
519 519
        unsigned int remaining = ctx->cur_frame_length;
520 520

  
521 521
        for (b = 0; b < ctx->num_blocks; b++) {
522
            if (remaining < div_blocks[b]) {
522
            if (remaining <= div_blocks[b]) {
523 523
                div_blocks[b] = remaining;
524 524
                ctx->num_blocks = b + 1;
525 525
                break;

Also available in: Unified diff