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

ramiro subversion at mplayerhq.hu
Sun Aug 24 21:39:30 CEST 2008


Author: ramiro
Date: Sun Aug 24 21:39:30 2008
New Revision: 3594

Log:
Use ctx->cur_channel_params in apply_filter().

Modified:
   mlp/mlpenc.c

Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c	(original)
+++ mlp/mlpenc.c	Sun Aug 24 21:39:30 2008
@@ -833,8 +833,8 @@ static void set_filter_params(MLPEncodeC
  */
 static int apply_filter(MLPEncodeContext *ctx, unsigned int channel)
 {
-    FilterParams *fp[NUM_FILTERS] = { &ctx->channel_params[ctx->frame_index][0][1][channel].filter_params[FIR],
-                                      &ctx->channel_params[ctx->frame_index][0][1][channel].filter_params[IIR], };
+    FilterParams *fp[NUM_FILTERS] = { &ctx->cur_channel_params[channel].filter_params[FIR],
+                                      &ctx->cur_channel_params[channel].filter_params[IIR], };
     int32_t filter_state_buffer[NUM_FILTERS][ctx->number_of_samples];
     int32_t mask = MSB_MASK(ctx->cur_decoding_params->quant_step_size[channel]);
     int32_t *sample_buffer = ctx->sample_buffer + channel;



More information about the FFmpeg-soc mailing list