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

pull/2/head
Mashiat Sarker Shakkhar 13 years ago committed by Michael Niedermayer
parent 80fa79a306
commit 8f8dcf4486
  1. 4
      libavcodec/wmalosslessdec.c

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

Loading…
Cancel
Save