diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-10-11 18:50:30 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-10-12 20:39:18 +0200 |
commit | d5c62122a7b26704bf867a1262df358623bf5edf (patch) | |
tree | 187a81249ccd692b0d25c951185721055ef3c797 /libavcodec/wnv1.c | |
parent | 930c9d4373e0f3cb7c64fcfc129127a309f6d066 (diff) | |
download | ffmpeg-d5c62122a7b26704bf867a1262df358623bf5edf.tar.gz |
Move av_reverse table to libavcodec
It is only used in that library.
Diffstat (limited to 'libavcodec/wnv1.c')
-rw-r--r-- | libavcodec/wnv1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/wnv1.c b/libavcodec/wnv1.c index 012642d67a..3abbce2619 100644 --- a/libavcodec/wnv1.c +++ b/libavcodec/wnv1.c @@ -26,7 +26,7 @@ #include "avcodec.h" #include "get_bits.h" -#include "libavutil/common.h" +#include "mathops.h" typedef struct WNV1Context{ @@ -52,7 +52,7 @@ static inline int wnv1_get_code(WNV1Context *w, int base_value) int v = get_vlc2(&w->gb, code_vlc.table, CODE_VLC_BITS, 1); if(v==15) - return av_reverse[ get_bits(&w->gb, 8 - w->shift) ]; + return ff_reverse[ get_bits(&w->gb, 8 - w->shift) ]; else return base_value + ((v - 7)<<w->shift); } @@ -88,7 +88,7 @@ static int decode_frame(AVCodecContext *avctx, p->key_frame = 1; for(i=8; i<buf_size; i++) - rbuf[i]= av_reverse[ buf[i] ]; + rbuf[i]= ff_reverse[ buf[i] ]; init_get_bits(&l->gb, rbuf+8, (buf_size-8)*8); if (buf[2] >> 4 == 6) |