aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-12-11 01:14:32 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-12-11 01:14:32 +0000
commitaf5e7fc9b9344007f76564d576d1748886099ffe (patch)
tree5570a19d782d59a252767f0b5d6f913435f2bc1c
parenta1546009aced3e8b21981de05db48c7afc55d8f7 (diff)
downloadffmpeg-af5e7fc9b9344007f76564d576d1748886099ffe.tar.gz
use dsp clear_block
Originally committed as revision 16048 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/dnxhddec.c4
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);
}