Commit ad076cb8 authored by jai_menon's avatar jai_menon

alacenc : perform decorrelation only for stereo samples


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14904 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b6e7abe2
......@@ -330,7 +330,8 @@ static void write_compressed_frame(AlacEncodeContext *s)
int i, j;
/* only simple mid/side decorrelation supported as of now */
alac_stereo_decorrelation(s);
if(s->avctx->channels == 2)
alac_stereo_decorrelation(s);
put_bits(&s->pbctx, 8, s->interlacing_shift);
put_bits(&s->pbctx, 8, s->interlacing_leftweight);
......
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