[FFmpeg-soc] [soc]: r2625 - alacenc/alacenc.c

jai_menon subversion at mplayerhq.hu
Tue Jul 1 15:31:42 CEST 2008


Author: jai_menon
Date: Tue Jul  1 15:31:42 2008
New Revision: 2625

Log:
first sample should be copied directly, thanks again justin for noticing this

Modified:
   alacenc/alacenc.c

Modified: alacenc/alacenc.c
==============================================================================
--- alacenc/alacenc.c	(original)
+++ alacenc/alacenc.c	Tue Jul  1 15:31:42 2008
@@ -160,6 +160,7 @@ static void alac_linear_predictor(AlacEn
     LPCContext lpc = s->lpc[ch];
 
     if(lpc.lpc_order == 31) {
+        s->predictor_buf[0] = s->sample_buf[0];
         i = s->avctx->frame_size - 1;
         while(i > 0) {
             s->predictor_buf[i] = s->sample_buf[ch][i] - s->sample_buf[ch][i-1];



More information about the FFmpeg-soc mailing list