diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-05-21 17:55:11 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-05-21 20:34:32 +0200 |
commit | a3710f1ebb30225ee8f6e88524dbdcb6b50627f4 (patch) | |
tree | b4221e6cdb69f7e512dadef3c87d9d4c0f692194 /libavcodec | |
parent | 3230590c5dba41fcfbf27804b79ae5689bc2b413 (diff) | |
download | ffmpeg-a3710f1ebb30225ee8f6e88524dbdcb6b50627f4.tar.gz |
aacdec: print debug note when unexpected SCE/CPE is encountered
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/aacdec.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c index a776ed3f19..391c845879 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; |