diff options
author | Mashiat Sarker Shakkhar <shahriman_ams@yahoo.com> | 2011-11-10 12:05:42 +0600 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-11 03:30:46 +0100 |
commit | 144d8159129131e17748b91a678944b2390af06a (patch) | |
tree | 0aaa88a5193bb36cf1451fe53079d99fe2a890a8 /libavcodec | |
parent | 9634b1c6f2440b6d849c202540fcbe6e8eec80af (diff) | |
download | ffmpeg-144d8159129131e17748b91a678944b2390af06a.tar.gz |
Initialize num_logged_tiles and remove unnecessary codes
(cherry picked from commit 69bca779e5d8409cde336406a26b5173002cac97)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/wmalosslessdec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c index 16252904e7..8faa93efb3 100644 --- a/libavcodec/wmalosslessdec.c +++ b/libavcodec/wmalosslessdec.c @@ -290,7 +290,7 @@ typedef struct WmallDecodeCtx { #define dprintf(pctx, ...) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__) -//static int num_logged_tiles; +static int num_logged_tiles = 0; /** *@brief helper function to print the most important members of the context @@ -340,7 +340,6 @@ static av_cold int decode_init(AVCodecContext *avctx) int log2_max_num_subframes; int num_possible_block_sizes; - //num_logged_tiles = 0; s->avctx = avctx; dsputil_init(&s->dsp, avctx); init_put_bits(&s->pb, s->frame_data, MAX_FRAMESIZE); @@ -706,7 +705,6 @@ static int decode_channel_residues(WmallDecodeCtx *s, int ch, int tile_size) // dprintf(s->avctx, "%5d: %5d %10d %12d %12d %5d %-16d %04x\n",i, quo, ave_mean, s->ave_sum[ch], rem, rem_bits, s->channel_residues[ch][i], show_bits(&s->gb, 16)); } av_log(0, 0, "\n Tile size = %d\n", tile_size); - //num_logged_tiles++; return 0; |