[FFmpeg-cvslog] r14904 - trunk/libavcodec/alacenc.c
jai_menon
subversion
Fri Aug 22 16:57:35 CEST 2008
Author: jai_menon
Date: Fri Aug 22 16:57:35 2008
New Revision: 14904
Log:
alacenc : perform decorrelation only for stereo samples
Modified:
trunk/libavcodec/alacenc.c
Modified: trunk/libavcodec/alacenc.c
==============================================================================
--- trunk/libavcodec/alacenc.c (original)
+++ trunk/libavcodec/alacenc.c Fri Aug 22 16:57:35 2008
@@ -330,7 +330,8 @@ static void write_compressed_frame(AlacE
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);
More information about the ffmpeg-cvslog
mailing list