Commit 711b56b9 authored by alexc's avatar alexc

aacdec: Clarify a channel mapping comment.

Patch by Cyril Russo >stage nexvision laposte net<


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23351 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 47ace70d
...@@ -127,8 +127,8 @@ static ChannelElement *get_che(AACContext *ac, int type, int elem_id) ...@@ -127,8 +127,8 @@ static ChannelElement *get_che(AACContext *ac, int type, int elem_id)
} }
case 6: case 6:
/* Some streams incorrectly code 5.1 audio as SCE[0] CPE[0] CPE[1] SCE[1] /* Some streams incorrectly code 5.1 audio as SCE[0] CPE[0] CPE[1] SCE[1]
instead of SCE[0] CPE[0] CPE[0] LFE[0]. If we seem to have instead of SCE[0] CPE[0] CPE[1] LFE[0]. If we seem to have
encountered such a stream, transfer the LFE[0] element to SCE[1] */ encountered such a stream, transfer the LFE[0] element to the SCE[1]'s mapping */
if (ac->tags_mapped == tags_per_config[ac->m4ac.chan_config] - 1 && (type == TYPE_LFE || type == TYPE_SCE)) { if (ac->tags_mapped == tags_per_config[ac->m4ac.chan_config] - 1 && (type == TYPE_LFE || type == TYPE_SCE)) {
ac->tags_mapped++; ac->tags_mapped++;
return ac->tag_che_map[type][elem_id] = ac->che[TYPE_LFE][0]; return ac->tag_che_map[type][elem_id] = ac->che[TYPE_LFE][0];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment