summaryrefslogtreecommitdiff
path: root/libavcodec/wmalosslessdec.c
diff options
context:
space:
mode:
authorMashiat Sarker Shakkhar <shahriman_ams@yahoo.com>2011-11-30 02:15:08 +0600
committerMashiat Sarker Shakkhar <shahriman_ams@yahoo.com>2011-11-30 02:15:08 +0600
commit81a3c67169aee9efe50bb8d4bffe635e55481f3a (patch)
treecf7a064a0860851bb4ce4c92452a3d22438fe55a /libavcodec/wmalosslessdec.c
parente6c66fcf68eafc5fa7fe2c1b8058dda3dc123708 (diff)
Get rid of logging that are not required anymore
(Resolves some conflicts)
Diffstat (limited to 'libavcodec/wmalosslessdec.c')
-rw-r--r--libavcodec/wmalosslessdec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c
index 48941aef79..ef663d3534 100644
--- a/libavcodec/wmalosslessdec.c
+++ b/libavcodec/wmalosslessdec.c
@@ -289,6 +289,8 @@ typedef struct WmallDecodeCtx {
static int num_logged_tiles = 0;
+static int num_logged_subframes = 0;
+static int num_lms_update_call = 0;
/**
*@brief helper function to print the most important members of the context
@@ -692,7 +694,7 @@ static int decode_channel_residues(WmallDecodeCtx *s, int ch, int tile_size)
if(s->seekable_tile) {
if(s->do_inter_ch_decorr)
s->channel_residues[ch][0] = get_sbits(&s->gb, s->bits_per_sample + 1);
- else
+ else
s->channel_residues[ch][0] = get_sbits(&s->gb, s->bits_per_sample);
i++;
}
@@ -716,9 +718,6 @@ static int decode_channel_residues(WmallDecodeCtx *s, int ch, int tile_size)
else
residue = residue >> 1;
s->channel_residues[ch][i] = residue;
-
- /*if (num_logged_tiles < 1)
- av_log(0, 0, "%4d ", residue); */
}
dump_int_buffer(s->channel_residues[ch], tile_size, 16);
@@ -1056,6 +1055,7 @@ static int decode_subframe(WmallDecodeCtx *s)
}
++s->channel[c].cur_subframe;
}
+ num_logged_subframes++;
return 0;
}