Replace placeholders with actual calls to clear_codec_buffers() and reset_codec()
authorMashiat Sarker Shakkhar <shahriman_ams@yahoo.com>
Sat, 5 Nov 2011 21:04:12 +0000 (03:04 +0600)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 11 Nov 2011 02:28:39 +0000 (03:28 +0100)
libavcodec/wmalosslessdec.c

index a6c6365..8354204 100644 (file)
@@ -878,7 +878,7 @@ static int decode_subframe(WmallDecodeCtx *s)
 
     s->seekable_tile = get_bits1(&s->gb);
     if(s->seekable_tile) {
-        // XXX: 6.2.2 clear_codec_buffers()
+        clear_codec_buffers(s);
 
         s->do_arith_coding    = get_bits1(&s->gb);
         if(s->do_arith_coding) {
@@ -899,7 +899,7 @@ static int decode_subframe(WmallDecodeCtx *s)
         s->movave_scaling = get_bits(&s->gb, 3);
         s->quant_stepsize = get_bits(&s->gb, 8) + 1;
 
-            // XXX: 6.2.2 reset_codec()
+            reset_codec(s);
     }
 
     rawpcm_tile = get_bits1(&s->gb);