private void huffBits(int gr, int ch) {
		final ChannelInformation ci = channelInfo[gr][ch];
		int r1, r2;

		if (ci.window_switching_flag != 0) {
			int ver = header.getVersion();
			if(ver == Header.MPEG1 || (ver == Header.MPEG2 && ci.block_type == 2)){
				ci.region1Start = 36;
				ci.region2Start = 576;
			} else {
				if(ver == Header.MPEG25) {
					if(ci.block_type == 2 && ci.mixed_block_flag == 0)
						ci.region1Start = sfbIndexLong[6];
					else
						ci.region1Start = sfbIndexLong[8];
					ci.region2Start = 576;
				} else {
					ci.region1Start = 54;
					ci.region2Start = 576;
				}
			}
		} else {
			r1 = ci.region0_count + 1;
			r2 = r1 + ci.region1_count + 1;
			if (r2 > sfbIndexLong.length - 1)
				r2 = sfbIndexLong.length - 1;
			ci.region1Start = sfbIndexLong[r1];
			ci.region2Start = sfbIndexLong[r2];
		}

		rzeroIndex[ch] = maindataStream.decodeHuff(ci, hv);  // 哈夫曼解码
	}