#ifndef AVCODEC_UNARY_H
#define AVCODEC_UNARY_H
-#include "bitstream.h"
+#include "get_bits.h"
/**
* Get unary code of limited length
return get_unary(gb, 0, 33);
}
+static inline int get_unary_0_9(GetBitContext *gb)
+{
+ return get_unary(gb, 0, 9);
+}
+
#endif /* AVCODEC_UNARY_H */