From 8b4119187b62d6932e07aded11d33d3b24e1b42f Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Mon, 13 Jan 2014 21:23:13 +0100 Subject: cabac: remove leftovers from the cabac encoder The cabac encoder was only used by the removed cabac test. Signed-off-by: Janne Grunau --- libavcodec/cabac.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'libavcodec/cabac.c') diff --git a/libavcodec/cabac.c b/libavcodec/cabac.c index e1cd811b70..b6f56f05ec 100644 --- a/libavcodec/cabac.c +++ b/libavcodec/cabac.c @@ -102,19 +102,6 @@ static const uint8_t last_coeff_flag_offset_8x8[63] = { 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8 }; -/** - * - * @param buf_size size of buf in bits - */ -void ff_init_cabac_encoder(CABACContext *c, uint8_t *buf, int buf_size){ - init_put_bits(&c->pb, buf, buf_size); - - c->low= 0; - c->range= 0x1FE; - c->outstanding_count= 0; - c->pb.bit_left++; //avoids firstBitFlag -} - /** * * @param buf_size size of buf in bits -- cgit v1.2.3