aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vble.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-10-11 18:50:30 +0200
committerDiego Biurrun <diego@biurrun.de>2012-10-12 20:39:18 +0200
commitd5c62122a7b26704bf867a1262df358623bf5edf (patch)
tree187a81249ccd692b0d25c951185721055ef3c797 /libavcodec/vble.c
parent930c9d4373e0f3cb7c64fcfc129127a309f6d066 (diff)
downloadffmpeg-d5c62122a7b26704bf867a1262df358623bf5edf.tar.gz
Move av_reverse table to libavcodec
It is only used in that library.
Diffstat (limited to 'libavcodec/vble.c')
-rw-r--r--libavcodec/vble.c3
1 files changed, 2 insertions, 1 deletions
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 {