diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-21 15:49:22 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-21 15:49:22 +0100 |
commit | 85d7f546627d393eff948edfb93cf15f56a0b0d8 (patch) | |
tree | 9d95f5dc9a79741aea6bff949fecbf82179161ad /libavcodec/sonic.c | |
parent | 6ec037c5a9e1eac10d0683486801dfdfe9db5056 (diff) | |
download | ffmpeg-85d7f546627d393eff948edfb93cf15f56a0b0d8.tar.gz |
sonicenc: fix mono decorrelation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/sonic.c')
-rw-r--r-- | libavcodec/sonic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/sonic.c b/libavcodec/sonic.c index a7e0a00b7c..45cd902ddd 100644 --- a/libavcodec/sonic.c +++ b/libavcodec/sonic.c @@ -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) { |