summaryrefslogtreecommitdiff
path: root/libavcodec/dv.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2006-08-28 18:46:01 +0000
committerAurelien Jacobs <aurel@gnuage.org>2006-08-28 18:46:01 +0000
commit75c998a21916f990cff5eaca59c4dc9d592a273f (patch)
tree1c16c1fdf6a1275aca6d7613db0ae0351b121961 /libavcodec/dv.c
parent8fbc6aae75403a7bbca595df9d3d3a9d835dc576 (diff)
force usage of ALT_BITSTREAM_READER where needed
Originally committed as revision 6118 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r--libavcodec/dv.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index c39d70c542..90d101813b 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -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 @@ static const int vs_total_ac_bits = (100 * 4 + 68*2) * 5;
/* 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);