summaryrefslogtreecommitdiff
path: root/libavcodec/get_bits.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-09-02 22:18:12 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-09-02 22:18:12 +0200
commit9e59a7be1cc9bd840d91f78c55b7f4953659319b (patch)
tree161ab63e1dcaacffcd06fe7723591966586650a3 /libavcodec/get_bits.h
parentc8be5258dec928119fab414341b13c0cf5405294 (diff)
parent91d305790ea0f6fe0f54b48236da42181c39c18b (diff)
downloadffmpeg-9e59a7be1cc9bd840d91f78c55b7f4953659319b.tar.gz
Merge commit '91d305790ea0f6fe0f54b48236da42181c39c18b'
* commit '91d305790ea0f6fe0f54b48236da42181c39c18b': get_bits: Rename HAVE_BITS_REMAINING --> BITS_AVAILABLE Conflicts: libavcodec/golomb.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/get_bits.h')
-rw-r--r--libavcodec/get_bits.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h
index 90235e319b..02f850cee6 100644
--- a/libavcodec/get_bits.h
+++ b/libavcodec/get_bits.h
@@ -130,14 +130,14 @@ typedef struct RL_VLC_ELEM {
unsigned int name ## _index = (gb)->index; \
unsigned int av_unused name ## _cache
-#define HAVE_BITS_REMAINING(name, gb) 1
+#define BITS_AVAILABLE(name, gb) 1
#else
#define OPEN_READER(name, gb) \
unsigned int name ## _index = (gb)->index; \
unsigned int av_unused name ## _cache = 0; \
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
#define CLOSE_READER(name, gb) (gb)->index = name ## _index