Commit 85d7f546 authored by Michael Niedermayer's avatar Michael Niedermayer

sonicenc: fix mono decorrelation

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 6ec037c5
......@@ -513,6 +513,8 @@ static av_cold int sonic_encode_init(AVCodecContext *avctx)
if (avctx->channels == 2)
s->decorrelation = MID_SIDE;
else
s->decorrelation = 3;
if (avctx->codec->id == AV_CODEC_ID_SONIC_LS)
{
......
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