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

ramiro subversion at mplayerhq.hu
Fri Aug 22 01:35:12 CEST 2008


Author: ramiro
Date: Fri Aug 22 01:35:12 2008
New Revision: 3523

Log:
Compare decoding_params on subblock 1 with that of subblock 0, and not again
with that of previous frame.

Modified:
   mlp/mlpenc.c

Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c	(original)
+++ mlp/mlpenc.c	Fri Aug 22 01:35:12 2008
@@ -1458,6 +1458,7 @@ static uint8_t *write_substrs(MLPEncodeC
                 } else {
                     ctx->sample_buffer += ctx->num_channels * dp->blocksize;
 
+                    memcpy(decoding_params, ctx->decoding_params[ctx->frame_index][ctx->subblock_index], sizeof(ctx->decoding_params[ctx->frame_index][ctx->subblock_index]));
                     memcpy(channel_params, ctx->channel_params[ctx->frame_index][ctx->subblock_index], sizeof(ctx->channel_params[ctx->frame_index][ctx->subblock_index]));
 
                     ctx->subblock_index = 1;



More information about the FFmpeg-soc mailing list