diff options
author | Mans Rullgard <mans@mansr.com> | 2012-07-01 14:56:16 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-07-01 20:38:14 +0100 |
commit | 779f8bc24ea94ec6f9d03ea52bb10b29c621c44b (patch) | |
tree | 96f81034745a8743ddf000840e066c07192b3e33 /libavcodec | |
parent | d55e5e6bae4ba1ddc18683f181d27c4e84923281 (diff) | |
download | ffmpeg-779f8bc24ea94ec6f9d03ea52bb10b29c621c44b.tar.gz |
smacker: remove some unused code
This removes some code apparently left over from vlc reader
debugging.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/smacker.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c index 43c206f25d..32ce48ff63 100644 --- a/libavcodec/smacker.c +++ b/libavcodec/smacker.c @@ -133,13 +133,9 @@ static int smacker_decode_bigtree(GetBitContext *gb, HuffContext *hc, DBCtx *ctx return -1; } if(!get_bits1(gb)){ //Leaf - int val, i1, i2, b1, b2; - b1 = get_bits_count(gb); + int val, i1, i2; i1 = ctx->v1->table ? get_vlc2(gb, ctx->v1->table, SMKTREE_BITS, 3) : 0; - b1 = get_bits_count(gb) - b1; - b2 = get_bits_count(gb); i2 = ctx->v2->table ? get_vlc2(gb, ctx->v2->table, SMKTREE_BITS, 3) : 0; - b2 = get_bits_count(gb) - b2; if (i1 < 0 || i2 < 0) return -1; val = ctx->recode1[i1] | (ctx->recode2[i2] << 8); |