[FFmpeg-cvslog] aac: fix SCE in stereo case, this is surprisingly actually needed

Michael Niedermayer git at videolan.org
Mon May 21 21:29:58 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon May 21 15:38:41 2012 +0200| [a6f650af8d864abbf248fd423e900a4754cfca6e] | committer: Michael Niedermayer

aac: fix SCE in stereo case, this is surprisingly actually needed

Fixes Ticket513

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a6f650af8d864abbf248fd423e900a4754cfca6e
---

 libavcodec/aacdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c
index 391c845..b002f14 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);



More information about the ffmpeg-cvslog mailing list