# HG changeset patch # User michael # Date 1234958231 0 # Node ID 9218ef5d5afbc4c9564d7345d45bc81d77b6f527 # Parent b123ed268953839f266c1088e921d8c256dc1c85 Clarify get_ue_golomb_31() behavior with >31. diff -r b123ed268953 -r 9218ef5d5afb golomb.h --- a/golomb.h Wed Feb 18 09:21:29 2009 +0000 +++ b/golomb.h Wed Feb 18 11:57:11 2009 +0000 @@ -75,7 +75,8 @@ } /** - * read unsigned exp golomb code, constraint to a max of 31 + * read unsigned exp golomb code, constraint to a max of 31. + * the return value is undefined if the stored value exceeds 31. */ static inline int get_ue_golomb_31(GetBitContext *gb){ unsigned int buf;