[FFmpeg-soc] [soc]: r3474 - mlp/mlpenc.c

ramiro subversion at mplayerhq.hu
Tue Aug 19 21:51:21 CEST 2008


Author: ramiro
Date: Tue Aug 19 21:51:21 2008
New Revision: 3474

Log:
Also clear matrix_coeff and frac_bits.

Modified:
   mlp/mlpenc.c

Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c	(original)
+++ mlp/mlpenc.c	Tue Aug 19 21:51:21 2008
@@ -257,6 +257,8 @@ static void clear_decoding_params(Decodi
         dp->num_primitive_matrices = 0;
         dp->blocksize              = 8;
 
+        memset(dp->frac_bits      , 0, sizeof(dp->frac_bits      ));
+        memset(dp->matrix_coeff   , 0, sizeof(dp->matrix_coeff   ));
         memset(dp->output_shift   , 0, sizeof(dp->output_shift   ));
         memset(dp->quant_step_size, 0, sizeof(dp->quant_step_size));
     }



More information about the FFmpeg-soc mailing list