[FFmpeg-cvslog] aacdec: print debug note when unexpected SCE/CPE is encountered

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 17:55:11 2012 +0200| [a3710f1ebb30225ee8f6e88524dbdcb6b50627f4] | committer: Michael Niedermayer

aacdec: print debug note when unexpected SCE/CPE is encountered

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

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

 libavcodec/aacdec.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c
index a776ed3..391c845 100644
--- a/libavcodec/aacdec.c
+++ b/libavcodec/aacdec.c
@@ -477,6 +477,8 @@ static ChannelElement *get_che(AACContext *ac, int type, int elem_id)
         int layout_map_tags;
         push_output_configuration(ac);
 
+        av_log(ac->avctx, AV_LOG_DEBUG, "mono with CPE\n");
+
         if (set_default_channel_config(ac->avctx, layout_map, &layout_map_tags,
                                        2) < 0)
             return NULL;
@@ -492,6 +494,8 @@ static ChannelElement *get_che(AACContext *ac, int type, int elem_id)
         int layout_map_tags;
         push_output_configuration(ac);
 
+        av_log(ac->avctx, AV_LOG_DEBUG, "stereo with SCE\n");
+
         if (set_default_channel_config(ac->avctx, layout_map, &layout_map_tags,
                                        1) < 0)
             return NULL;



More information about the ffmpeg-cvslog mailing list