[FFmpeg-cvslog] Replace placeholders with actual calls to clear_codec_buffers() and reset_codec()

Mashiat Sarker Shakkhar git at videolan.org
Fri Nov 11 03:42:40 CET 2011


ffmpeg | branch: master | Mashiat Sarker Shakkhar <shahriman_ams at yahoo.com> | Sun Nov  6 03:04:12 2011 +0600| [8f8dcf448615d836c32d9425f7979a2cd1de7bf7] | committer: Michael Niedermayer

Replace placeholders with actual calls to clear_codec_buffers() and reset_codec()

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8f8dcf448615d836c32d9425f7979a2cd1de7bf7
---

 libavcodec/wmalosslessdec.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c
index a6c6365..8354204 100644
--- a/libavcodec/wmalosslessdec.c
+++ b/libavcodec/wmalosslessdec.c
@@ -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);



More information about the ffmpeg-cvslog mailing list