[FFmpeg-soc] [soc]: r3411 - mlp/mlpenc.c
ramiro
subversion at mplayerhq.hu
Sun Aug 17 22:30:57 CEST 2008
Author: ramiro
Date: Sun Aug 17 22:30:56 2008
New Revision: 3411
Log:
Use function to clear channel_params on init too.
Modified:
mlp/mlpenc.c
Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c (original)
+++ mlp/mlpenc.c Sun Aug 17 22:30:56 2008
@@ -362,15 +362,14 @@ static av_cold int mlp_encode_init(AVCod
rh->max_matrix_channel = 1;
for (channel = 0; channel <= rh->max_channel; channel++) {
- ChannelParams *cp = &ctx->channel_params[channel];
-
dp->quant_step_size[channel] = quant_step_size;
- cp->huff_lsbs = 24;
}
dp->param_presence_flags = default_param_presence_flags();
}
+ clear_channel_params(ctx->channel_params);
+
return 0;
}
More information about the FFmpeg-soc
mailing list