Commit 0473f29b authored by Justin Ruggles's avatar Justin Ruggles

imc: do not set channel layout for stereo

we only support decoding of mono imc
parent 7b7f47e7
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment