summaryrefslogtreecommitdiff
path: root/libavcodec/aacdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-05-21 15:38:41 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-05-21 20:43:00 +0200
commita6f650af8d864abbf248fd423e900a4754cfca6e (patch)
treed3a11084b549683e547ad5df49e53ef7c388ca96 /libavcodec/aacdec.c
parenta3710f1ebb30225ee8f6e88524dbdcb6b50627f4 (diff)
aac: fix SCE in stereo case, this is surprisingly actually needed
Fixes Ticket513 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/aacdec.c')
-rw-r--r--libavcodec/aacdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c
index 391c845879..b002f14583 100644
--- a/libavcodec/aacdec.c
+++ b/libavcodec/aacdec.c
@@ -489,7 +489,7 @@ static ChannelElement *get_che(AACContext *ac, int type, int elem_id)
ac->oc[1].m4ac.chan_config = 2;
}
// And vice-versa
- if (!ac->tags_mapped && type == TYPE_SCE && ac->oc[1].m4ac.chan_config == 2 && 0) {
+ if (!ac->tags_mapped && type == TYPE_SCE && ac->oc[1].m4ac.chan_config == 2) {
uint8_t layout_map[MAX_ELEM_ID*4][3];
int layout_map_tags;
push_output_configuration(ac);