# HG changeset patch # User bcoudurier # Date 1228958072 0 # Node ID eb7667dbb9e0eac505e0da1a546b4f16bd727798 # Parent f664577ac17d9d5f089ca924529923fcaa7f3d97 use dsp clear_block diff -r f664577ac17d -r eb7667dbb9e0 dnxhddec.c --- a/dnxhddec.c Thu Dec 11 00:33:02 2008 +0000 +++ b/dnxhddec.c Thu Dec 11 01:14:32 2008 +0000 @@ -219,14 +219,12 @@ 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); }