Author: jai_menon
Date: Tue Jul 1 03:47:23 2008
New Revision: 2609
Log:
predictor coeffs must be written as signed values in the bitstream. thanks to
justin for spotting this major bug
Modified:
alacenc/alacenc.c
Modified: alacenc/alacenc.c
==============================================================================
--- alacenc/alacenc.c (original)
+++ alacenc/alacenc.c Tue Jul 1 03:47:23 2008
@@ -283,7 +283,7 @@ static void write_compressed_frame(AlacE
put_bits(&s->pbctx, 5, s->lpc[i].lpc_order);
// predictor coeff. table
for(j=0;j<s->lpc[i].lpc_order;j++) {
- put_bits(&s->pbctx, 16, s->lpc[i].lpc_coeff[j]);
+ put_sbits(&s->pbctx, 16, s->lpc[i].lpc_coeff[j]);
}
}
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc