sonicenc: fix mono decorrelation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -513,6 +513,8 @@ static av_cold int sonic_encode_init(AVCodecContext *avctx)
|
|||||||
|
|
||||||
if (avctx->channels == 2)
|
if (avctx->channels == 2)
|
||||||
s->decorrelation = MID_SIDE;
|
s->decorrelation = MID_SIDE;
|
||||||
|
else
|
||||||
|
s->decorrelation = 3;
|
||||||
|
|
||||||
if (avctx->codec->id == AV_CODEC_ID_SONIC_LS)
|
if (avctx->codec->id == AV_CODEC_ID_SONIC_LS)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user