1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

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

This commit is contained in:
Mashiat Sarker Shakkhar
2011-11-06 03:04:12 +06:00
parent 269a0dee19
commit f3d349f697

View File

@@ -875,6 +875,8 @@ 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) {
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) {
dprintf(s->avctx, "do_arith_coding == 1"); dprintf(s->avctx, "do_arith_coding == 1");
@@ -893,6 +895,8 @@ static int decode_subframe(WmallDecodeCtx *s)
decode_cdlms(s); decode_cdlms(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;
reset_codec(s);
} }
rawpcm_tile = get_bits1(&s->gb); rawpcm_tile = get_bits1(&s->gb);