Mercurial > libavcodec.hg
diff dv.c @ 3649:3335f51b6cd3 libavcodec
force usage of ALT_BITSTREAM_READER where needed
author | aurel |
---|---|
date | Mon, 28 Aug 2006 18:46:01 +0000 |
parents | 1deaaa111fbc |
children | 18113845d891 |
line wrap: on
line diff
--- a/dv.c Mon Aug 28 18:44:49 2006 +0000 +++ b/dv.c Mon Aug 28 18:46:01 2006 +0000 @@ -31,6 +31,7 @@ * @file dv.c * DV codec. */ +#define ALT_BITSTREAM_READER #include "avcodec.h" #include "dsputil.h" #include "mpegvideo.h" @@ -270,11 +271,6 @@ /* see dv_88_areas and dv_248_areas for details */ static const int mb_area_start[5] = { 1, 6, 21, 43, 64 }; -#ifndef ALT_BITSTREAM_READER -#warning only works with ALT_BITSTREAM_READER -static int re_index; //Hack to make it compile -#endif - static inline int get_bits_left(GetBitContext *s) { return s->size_in_bits - get_bits_count(s);