Log index for each line of output
authorMashiat Sarker Shakkhar <shahriman_ams@yahoo.com>
Thu, 10 Nov 2011 06:04:31 +0000 (12:04 +0600)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 11 Nov 2011 02:30:41 +0000 (03:30 +0100)
(cherry picked from commit 9e2ccb2de8d4dc5179cd86610b129500e6223be7)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/wmalosslessdec.c

index aa1f6ab..1625290 100644 (file)
@@ -680,6 +680,7 @@ static int decode_channel_residues(WmallDecodeCtx *s, int ch, int tile_size)
             s->channel_residues[ch][0] = get_sbits(&s->gb, s->bits_per_sample);
         i++;
     }
+    av_log(0, 0, "%8d: ", num_logged_tiles++);
     for(; i < tile_size; i++) {
         int quo = 0, rem, rem_bits, residue;
         while(get_bits1(&s->gb))