comparison aac.c @ 11787:c3ca752c24ef libavcodec

aacdec: Clarify a channel mapping comment. Patch by Cyril Russo >stage nexvision laposte net<
author alexc
date Thu, 27 May 2010 14:50:19 +0000
parents 818851623979
children 9bdc0fe882fa
comparison
equal deleted inserted replaced
11786:442a0af656db 11787:c3ca752c24ef
125 ac->tags_mapped++; 125 ac->tags_mapped++;
126 return ac->tag_che_map[TYPE_CPE][elem_id] = ac->che[TYPE_CPE][2]; 126 return ac->tag_che_map[TYPE_CPE][elem_id] = ac->che[TYPE_CPE][2];
127 } 127 }
128 case 6: 128 case 6:
129 /* Some streams incorrectly code 5.1 audio as SCE[0] CPE[0] CPE[1] SCE[1] 129 /* Some streams incorrectly code 5.1 audio as SCE[0] CPE[0] CPE[1] SCE[1]
130 instead of SCE[0] CPE[0] CPE[0] LFE[0]. If we seem to have 130 instead of SCE[0] CPE[0] CPE[1] LFE[0]. If we seem to have
131 encountered such a stream, transfer the LFE[0] element to SCE[1] */ 131 encountered such a stream, transfer the LFE[0] element to the SCE[1]'s mapping */
132 if (ac->tags_mapped == tags_per_config[ac->m4ac.chan_config] - 1 && (type == TYPE_LFE || type == TYPE_SCE)) { 132 if (ac->tags_mapped == tags_per_config[ac->m4ac.chan_config] - 1 && (type == TYPE_LFE || type == TYPE_SCE)) {
133 ac->tags_mapped++; 133 ac->tags_mapped++;
134 return ac->tag_che_map[type][elem_id] = ac->che[TYPE_LFE][0]; 134 return ac->tag_che_map[type][elem_id] = ac->che[TYPE_LFE][0];
135 } 135 }
136 case 5: 136 case 5: