Commit 0875cdfb authored by bcoudurier's avatar bcoudurier

should be more correct

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9896 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 66a6883f
......@@ -302,7 +302,9 @@ static int dnxhd_decode_macroblocks(DNXHDContext *ctx, uint8_t *buf, int buf_siz
{
int x, y;
for (y = 0; y < ctx->mb_height; y++) {
memset(ctx->last_dc, 4, sizeof(ctx->last_dc)); // 4 for levels +128
ctx->last_dc[0] =
ctx->last_dc[1] =
ctx->last_dc[2] = 1024; // 1024 for levels +128
init_get_bits(&ctx->gb, buf + ctx->mb_scan_index[y], (buf_size - ctx->mb_scan_index[y]) << 3);
for (x = 0; x < ctx->mb_width; x++) {
//START_TIMER;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment