|
|
@ -128,14 +128,14 @@ typedef struct RL_VLC_ELEM { |
|
|
|
unsigned int name ## _index = (gb)->index; \
|
|
|
|
unsigned int name ## _index = (gb)->index; \
|
|
|
|
unsigned int av_unused name ## _cache = 0 |
|
|
|
unsigned int av_unused name ## _cache = 0 |
|
|
|
|
|
|
|
|
|
|
|
#define HAVE_BITS_REMAINING(name, gb) 1 |
|
|
|
#define BITS_AVAILABLE(name, gb) 1 |
|
|
|
#else |
|
|
|
#else |
|
|
|
#define OPEN_READER(name, gb) \ |
|
|
|
#define OPEN_READER(name, gb) \ |
|
|
|
unsigned int name ## _index = (gb)->index; \
|
|
|
|
unsigned int name ## _index = (gb)->index; \
|
|
|
|
unsigned int av_unused name ## _cache = 0; \
|
|
|
|
unsigned int av_unused name ## _cache = 0; \
|
|
|
|
unsigned int av_unused name ## _size_plus8 = (gb)->size_in_bits_plus8 |
|
|
|
unsigned int av_unused name ## _size_plus8 = (gb)->size_in_bits_plus8 |
|
|
|
|
|
|
|
|
|
|
|
#define HAVE_BITS_REMAINING(name, gb) name ## _index < name ## _size_plus8 |
|
|
|
#define BITS_AVAILABLE(name, gb) name ## _index < name ## _size_plus8 |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#define CLOSE_READER(name, gb) (gb)->index = name ## _index |
|
|
|
#define CLOSE_READER(name, gb) (gb)->index = name ## _index |
|
|
|