[FFmpeg-soc] [soc]: r3153 - mlp/mlpenc.c
ramiro
subversion at mplayerhq.hu
Sun Aug 10 17:35:19 CEST 2008
Author: ramiro
Date: Sun Aug 10 17:35:19 2008
New Revision: 3153
Log:
Declare variable closer to where it's used.
Modified:
mlp/mlpenc.c
Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c (original)
+++ mlp/mlpenc.c Sun Aug 10 17:35:19 2008
@@ -1002,7 +1002,6 @@ static int mlp_encode_frame(AVCodecConte
unsigned int substr;
int channel, filter;
int write_headers;
- PutBitContext pb;
int end = 0;
if (avctx->frame_size > MAX_BLOCKSIZE) {
@@ -1055,7 +1054,7 @@ static int mlp_encode_frame(AVCodecConte
DecodingParams *dp = &ctx->decoding_params[substr];
RestartHeader *rh = &ctx->restart_header [substr];
uint8_t parity, checksum;
- PutBitContext tmpb;
+ PutBitContext pb, tmpb;
int params_changed;
int last_block = 0;
More information about the FFmpeg-soc
mailing list