From d5c62122a7b26704bf867a1262df358623bf5edf Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 11 Oct 2012 18:50:30 +0200 Subject: Move av_reverse table to libavcodec It is only used in that library. --- libavcodec/vble.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/vble.c') diff --git a/libavcodec/vble.c b/libavcodec/vble.c index 9726b1089a..d112e273b4 100644 --- a/libavcodec/vble.c +++ b/libavcodec/vble.c @@ -29,6 +29,7 @@ #include "avcodec.h" #include "dsputil.h" #include "get_bits.h" +#include "mathops.h" typedef struct { AVCodecContext *avctx; @@ -44,7 +45,7 @@ static uint8_t vble_read_reverse_unary(GetBitContext *gb) uint8_t val = show_bits(gb, 8); if (val) { - val = 7 - av_log2_16bit(av_reverse[val]); + val = 7 - av_log2_16bit(ff_reverse[val]); skip_bits(gb, val + 1); return val; } else { -- cgit v1.2.1