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

ramiro subversion at mplayerhq.hu
Wed Aug 13 22:00:39 CEST 2008


Author: ramiro
Date: Wed Aug 13 22:00:39 2008
New Revision: 3229

Log:
Don't zero values that are already initialized as 0.

Modified:
   mlp/mlpenc.c

Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c	(original)
+++ mlp/mlpenc.c	Wed Aug 13 22:00:39 2008
@@ -240,18 +240,12 @@ static av_cold int mlp_encode_init(AVCod
         rh->max_channel        = avctx->channels - 1;
         rh->max_matrix_channel = 1;
 
-        rh->noise_shift        = 0;
-        rh->noisegen_seed      = 0;
-
-        rh->data_check_present = 0;
-
         dp->blocksize          = avctx->frame_size;
 
         for (channel = 0; channel <= rh->max_channel; channel++) {
             ChannelParams *cp = &ctx->channel_params[channel];
 
             dp->quant_step_size[channel] = quant_step_size;
-            cp->codebook                 =  0;
             cp->huff_lsbs                = 24;
         }
 



More information about the FFmpeg-soc mailing list