Commit af5e7fc9 authored by Baptiste Coudurier's avatar Baptiste Coudurier

use dsp clear_block

Originally committed as revision 16048 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent a1546009
......@@ -219,14 +219,12 @@ static int dnxhd_decode_macroblock(DNXHDContext *ctx, int x, int y)
int dct_offset;
int qscale, i;
ctx->dsp.clear_blocks(ctx->blocks[0]);
ctx->dsp.clear_blocks(ctx->blocks[2]); // FIXME change clear blocks to take block amount
qscale = get_bits(&ctx->gb, 11);
skip_bits1(&ctx->gb);
//av_log(ctx->avctx, AV_LOG_DEBUG, "qscale %d\n", qscale);
for (i = 0; i < 8; i++) {
ctx->dsp.clear_block(ctx->blocks[i]);
dnxhd_decode_dct_block(ctx, ctx->blocks[i], i, qscale);
}
......
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