Mercurial > libavcodec.hg
comparison dv.c @ 2614:5e24800ab329 libavcodec
various fixes related to the non alt_bitstream_reader
author | michael |
---|---|
date | Mon, 18 Apr 2005 12:08:16 +0000 |
parents | f67b63ed036d |
children | b2846918585c |
comparison
equal
deleted
inserted
replaced
2613:1c1b53f353ff | 2614:5e24800ab329 |
---|---|
261 /* see dv_88_areas and dv_248_areas for details */ | 261 /* see dv_88_areas and dv_248_areas for details */ |
262 static const int mb_area_start[5] = { 1, 6, 21, 43, 64 }; | 262 static const int mb_area_start[5] = { 1, 6, 21, 43, 64 }; |
263 | 263 |
264 #ifndef ALT_BITSTREAM_READER | 264 #ifndef ALT_BITSTREAM_READER |
265 #warning only works with ALT_BITSTREAM_READER | 265 #warning only works with ALT_BITSTREAM_READER |
266 static int re_index; //Hack to make it compile | |
266 #endif | 267 #endif |
267 | 268 |
268 static inline int get_bits_left(GetBitContext *s) | 269 static inline int get_bits_left(GetBitContext *s) |
269 { | 270 { |
270 return s->size_in_bits - get_bits_count(s); | 271 return s->size_in_bits - get_bits_count(s); |