From a6f650af8d864abbf248fd423e900a4754cfca6e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 21 May 2012 15:38:41 +0200 Subject: [PATCH] aac: fix SCE in stereo case, this is surprisingly actually needed Fixes Ticket513 Signed-off-by: Michael Niedermayer --- libavcodec/aacdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);