1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

imc: do not set channel layout for stereo

we only support decoding of mono imc
This commit is contained in:
Justin Ruggles 2011-10-28 18:32:40 -04:00
parent 7b7f47e733
commit 0473f29b60

View File

@ -167,7 +167,7 @@ static av_cold int imc_decode_init(AVCodecContext * avctx)
}
dsputil_init(&q->dsp, avctx);
avctx->sample_fmt = AV_SAMPLE_FMT_FLT;
avctx->channel_layout = (avctx->channels==2) ? AV_CH_LAYOUT_STEREO : AV_CH_LAYOUT_MONO;
avctx->channel_layout = AV_CH_LAYOUT_MONO;
return 0;
}