Mercurial > libavcodec.hg
diff golomb.h @ 8969:9218ef5d5afb libavcodec
Clarify get_ue_golomb_31() behavior with >31.
author | michael |
---|---|
date | Wed, 18 Feb 2009 11:57:11 +0000 |
parents | e9d9d946f213 |
children | 97b991a32b85 |
line wrap: on
line diff
--- 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;