1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

sonicenc: fix mono decorrelation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-03-21 15:49:22 +01:00
parent 6ec037c5a9
commit 85d7f54662

View File

@ -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)
{