]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/unary.h
Export av_strtod() to eval.h.
[ffmpeg] / libavcodec / unary.h
index 0f600cc4e0215af7d097d817338085bfdb1f5b62..908dc9350786e56acc4166ec967ad7af20c34447 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef AVCODEC_UNARY_H
 #define AVCODEC_UNARY_H
 
-#include "bitstream.h"
+#include "get_bits.h"
 
 /**
  * Get unary code of limited length
@@ -48,4 +48,9 @@ static inline int get_unary_0_33(GetBitContext *gb)
     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 */