comparison dnxhddec.c @ 5795:8b6fe123be88 libavcodec

typo weigth->weight
author bcoudurier
date Mon, 08 Oct 2007 12:28:36 +0000
parents 8412118b41d3
children 0b967440e270
comparison
equal deleted inserted replaced
5794:8412118b41d3 5795:8b6fe123be88
159 int level, component, sign; 159 int level, component, sign;
160 const uint8_t *weigth_matrix; 160 const uint8_t *weigth_matrix;
161 161
162 if (n&2) { 162 if (n&2) {
163 component = 1 + (n&1); 163 component = 1 + (n&1);
164 weigth_matrix = ctx->cid_table->chroma_weigth; 164 weigth_matrix = ctx->cid_table->chroma_weight;
165 } else { 165 } else {
166 component = 0; 166 component = 0;
167 weigth_matrix = ctx->cid_table->luma_weigth; 167 weigth_matrix = ctx->cid_table->luma_weight;
168 } 168 }
169 169
170 ctx->last_dc[component] += dnxhd_decode_dc(ctx); 170 ctx->last_dc[component] += dnxhd_decode_dc(ctx);
171 block[0] = ctx->last_dc[component]; 171 block[0] = ctx->last_dc[component];
172 //av_log(ctx->avctx, AV_LOG_DEBUG, "dc %d\n", block[0]); 172 //av_log(ctx->avctx, AV_LOG_DEBUG, "dc %d\n", block[0]);