diff options
author | Francesco Lavra <francescolavra@interfree.it> | 2009-11-09 12:11:35 +0300 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-11-09 12:11:35 +0300 |
commit | 91cc5d37679b112d03c20d053905c3941c0a8992 (patch) | |
tree | 63de7240f7f22da61839db5cc9d50cc22562a59a /libavcodec/wnv1.c | |
parent | 66ddc150f0231889f9a05f71739ff1a40db9a01d (diff) |
Move ff_reverse in libavcodec to av_reverse in libavutil.
Patch by Francesco Lavra, francescolavra interfree it
Originally committed as revision 20484 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wnv1.c')
-rw-r--r-- | libavcodec/wnv1.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/wnv1.c b/libavcodec/wnv1.c index 9a5a77fe78..f537aee3af 100644 --- a/libavcodec/wnv1.c +++ b/libavcodec/wnv1.c @@ -26,6 +26,7 @@ #include "avcodec.h" #include "get_bits.h" +#include "libavutil/common.h" typedef struct WNV1Context{ @@ -51,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 ff_reverse[ get_bits(&w->gb, 8 - w->shift) ]; + return av_reverse[ get_bits(&w->gb, 8 - w->shift) ]; else return base_value + ((v - 7)<<w->shift); } @@ -87,7 +88,7 @@ static int decode_frame(AVCodecContext *avctx, p->key_frame = 1; for(i=8; i<buf_size; i++) - rbuf[i]= ff_reverse[ buf[i] ]; + rbuf[i]= av_reverse[ buf[i] ]; init_get_bits(&l->gb, rbuf+8, (buf_size-8)*8); if (buf[2] >> 4 == 6) |