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

ramiro subversion at mplayerhq.hu
Sun Aug 31 22:32:51 CEST 2008


Author: ramiro
Date: Sun Aug 31 22:32:51 2008
New Revision: 3692

Log:
Simplify using new seq_size array.

Modified:
   mlp/mlpenc.c

Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c	(original)
+++ mlp/mlpenc.c	Sun Aug 31 22:32:51 2008
@@ -2203,7 +2203,7 @@ input_and_return:
         }
         ctx->number_of_samples = number_of_samples;
 
-        for (index = 0; index < ctx->number_of_frames + 1; index++) {
+        for (index = 0; index < ctx->seq_size[seq_index]; index++) {
             clear_channel_params(ctx, ctx->channel_params[ctx->seq_index][ctx->frame_index][index]);
             default_decoding_params(ctx, ctx->decoding_params[ctx->seq_index][ctx->frame_index][index]);
         }



More information about the FFmpeg-soc mailing list