summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2011-05-25 09:43:14 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-05-25 09:49:18 +0200
commit06fd213eb608c23f58e290cfad6262b94e30fc74 (patch)
treecab19f94a680c121ffa04cb11534fedca018ef72 /libavcodec
parentecf72542fac6d05d88efe4a7a474adb8ec291fbe (diff)
Do not reset channel_layout to 0.
The channel_layout may have been set by the demuxer.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/aacdec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c
index c56c0af986..19d3b3678f 100644
--- a/libavcodec/aacdec.c
+++ b/libavcodec/aacdec.c
@@ -251,8 +251,6 @@ static av_cold int output_configure(AACContext *ac,
}
memcpy(ac->tag_che_map, ac->che, 4 * MAX_ELEM_ID * sizeof(ac->che[0][0]));
-
- avctx->channel_layout = 0;
}
avctx->channels = channels;