Permalink
Browse files

sonicenc: fix mono decorrelation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
  • Loading branch information...
1 parent 6ec037c commit 85d7f546627d393eff948edfb93cf15f56a0b0d8 @michaelni michaelni committed Mar 21, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 libavcodec/sonic.c
View
@@ -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)
{

0 comments on commit 85d7f54

Please sign in to comment.