Mercurial > libavcodec.hg
changeset 8101:38c1cbbb4245 libavcodec
Guess channel layout based on the number of channels if a custom layout is specified in amode.
author | banan |
---|---|
date | Sat, 01 Nov 2008 20:49:37 +0000 |
parents | 8d08a75eac3d |
children | 04295cbc0e9b |
files | dca.c |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/dca.c Sat Nov 01 20:27:05 2008 +0000 +++ b/dca.c Sat Nov 01 20:49:37 2008 +0000 @@ -1215,11 +1215,6 @@ } if (s->amode<16) avctx->channel_layout = dca_core_channel_layout[s->amode]; - else { - av_log(avctx, AV_LOG_ERROR, "Custom channel layouts not supported\n"); - //Maybe just guess layout depending on the channel count - return -1; - } if (s->lfe) avctx->channel_layout |= CHANNEL_LOW_FREQUENCY;