diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-12-11 04:14:32 +0300 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-12-11 04:14:32 +0300 |
commit | af5e7fc9b9344007f76564d576d1748886099ffe (patch) | |
tree | 5570a19d782d59a252767f0b5d6f913435f2bc1c /libavcodec/dnxhddec.c | |
parent | a1546009aced3e8b21981de05db48c7afc55d8f7 (diff) |
use dsp clear_block
Originally committed as revision 16048 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dnxhddec.c')
-rw-r--r-- | libavcodec/dnxhddec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c index 1f4f1c861b..4bf98de735 100644 --- a/libavcodec/dnxhddec.c +++ b/libavcodec/dnxhddec.c @@ -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); } |