Revision 36ebf912 libavcodec/dnxhddec.c

View differences:

libavcodec/dnxhddec.c
302 302
{
303 303
    int x, y;
304 304
    for (y = 0; y < ctx->mb_height; y++) {
305
        memset(ctx->last_dc, 4, sizeof(ctx->last_dc)); // 4 for levels +128
305
        ctx->last_dc[0] =
306
        ctx->last_dc[1] =
307
        ctx->last_dc[2] = 1024; // 1024 for levels +128
306 308
        init_get_bits(&ctx->gb, buf + ctx->mb_scan_index[y], (buf_size - ctx->mb_scan_index[y]) << 3);
307 309
        for (x = 0; x < ctx->mb_width; x++) {
308 310
            //START_TIMER;

Also available in: Unified diff