comparison eac3dec.c @ 7752:e3fb2606d5b5 libavcodec

skip converter exponent strategy for all channels at once
author jbr
date Sun, 31 Aug 2008 02:38:38 +0000
parents f9bd775992d4
children b7c59017beb8
comparison
equal deleted inserted replaced
7751:816293be2e54 7752:e3fb2606d5b5
413 } 413 }
414 } 414 }
415 /* original exponent strategies if this stream was converted from AC-3 */ 415 /* original exponent strategies if this stream was converted from AC-3 */
416 if (s->frame_type == EAC3_FRAME_TYPE_INDEPENDENT && 416 if (s->frame_type == EAC3_FRAME_TYPE_INDEPENDENT &&
417 (s->num_blocks == 6 || get_bits1(gbc))) { 417 (s->num_blocks == 6 || get_bits1(gbc))) {
418 for (ch = 1; ch <= s->fbw_channels; ch++) { 418 skip_bits(gbc, 5 * s->fbw_channels); // skip converter channel exponent strategy
419 skip_bits(gbc, 5); // skip converter channel exponent strategy
420 }
421 } 419 }
422 420
423 /* determine which channels use AHT */ 421 /* determine which channels use AHT */
424 if (parse_aht_info) { 422 if (parse_aht_info) {
425 /* AHT is only available when there are 6 blocks in the frame. 423 /* AHT is only available when there are 6 blocks in the frame.