[FFmpeg-devel] [PATCH]Fix decoding of SCE stereo aac streams

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Oct 13 22:38:58 CEST 2014


Hi!

Attached patch fixes ticket #1614 for me (and passes fate-aac).

Please review, Carl Eugen
-------------- next part --------------
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c
index ef820d2..2c20020 100644
--- a/libavcodec/aacdec.c
+++ b/libavcodec/aacdec.c
@@ -656,7 +656,7 @@ static ChannelElement *get_che(AACContext *ac, int type, int elem_id)
             return NULL;
         }
     case 1:
-        if (!ac->tags_mapped && type == TYPE_SCE) {
+        if (type == TYPE_SCE) {
             ac->tags_mapped++;
             return ac->tag_che_map[TYPE_SCE][elem_id] = ac->che[TYPE_SCE][0];
         }


More information about the ffmpeg-devel mailing list