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;
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to