diff unary.h @ 5628:cf88751d8ab7 libavcodec

Remove reimplementation of get_unary. Based on a patch by Alex Beregszaszi.
author vitor
date Sat, 01 Sep 2007 21:03:17 +0000
parents 5b80d560cdca
children 1d83e9c34641
line wrap: on
line diff
--- a/unary.h	Sat Sep 01 14:00:47 2007 +0000
+++ b/unary.h	Sat Sep 01 21:03:17 2007 +0000
@@ -48,4 +48,9 @@
     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 */