Mercurial > libavcodec.hg
comparison mpeg4audio.c @ 9527:b687da895962 libavcodec
Read extended channel configuration when extended AOT is BSAC.
author | jai_menon |
---|---|
date | Tue, 21 Apr 2009 17:52:52 +0000 |
parents | 0dce4fe6e6f3 |
children | 8e95c7402d1a |
comparison
equal
deleted
inserted
replaced
9526:b9216a975c7f | 9527:b687da895962 |
---|---|
59 if (c->object_type == 5) { | 59 if (c->object_type == 5) { |
60 c->ext_object_type = c->object_type; | 60 c->ext_object_type = c->object_type; |
61 c->sbr = 1; | 61 c->sbr = 1; |
62 c->ext_sample_rate = get_sample_rate(&gb, &c->ext_sampling_index); | 62 c->ext_sample_rate = get_sample_rate(&gb, &c->ext_sampling_index); |
63 c->object_type = get_object_type(&gb); | 63 c->object_type = get_object_type(&gb); |
64 if (c->object_type == AOT_ER_BSAC) | |
65 c->ext_chan_config = get_bits(&gb, 4); | |
64 } else { | 66 } else { |
65 c->ext_object_type = 0; | 67 c->ext_object_type = 0; |
66 c->ext_sample_rate = 0; | 68 c->ext_sample_rate = 0; |
67 } | 69 } |
68 specific_config_bitindex = get_bits_count(&gb); | 70 specific_config_bitindex = get_bits_count(&gb); |