comparison mlpdec.c @ 9266:129bdb41e856 libavcodec

mlpdec: quant_step_size can be any value from 0 to 0xF.
author ramiro
date Fri, 27 Mar 2009 23:48:08 +0000
parents 9d04c011f3dd
children ca630efd0a96
comparison
equal deleted inserted replaced
9265:9d04c011f3dd 9266:129bdb41e856
634 if (get_bits1(gbp)) 634 if (get_bits1(gbp))
635 for (ch = 0; ch <= s->max_channel; ch++) { 635 for (ch = 0; ch <= s->max_channel; ch++) {
636 ChannelParams *cp = &m->channel_params[ch]; 636 ChannelParams *cp = &m->channel_params[ch];
637 637
638 s->quant_step_size[ch] = get_bits(gbp, 4); 638 s->quant_step_size[ch] = get_bits(gbp, 4);
639 /* TODO: validate */
640 639
641 cp->sign_huff_offset = calculate_sign_huff(m, substr, ch); 640 cp->sign_huff_offset = calculate_sign_huff(m, substr, ch);
642 } 641 }
643 642
644 for (ch = s->min_channel; ch <= s->max_channel; ch++) 643 for (ch = s->min_channel; ch <= s->max_channel; ch++)