summaryrefslogtreecommitdiff
path: root/libavcodec/golomb.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-02-18 11:57:11 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-02-18 11:57:11 +0000
commit9392863d1bf2b6b7a73375e678fec9f3f7a1dd58 (patch)
tree553a7286374e211eba4529f6d6c5b3abc0af00a0 /libavcodec/golomb.h
parenta6f925b8f7778a8a316dda49c5ab5a56a1136f19 (diff)
Clarify get_ue_golomb_31() behavior with >31.
Originally committed as revision 17429 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/golomb.h')
-rw-r--r--libavcodec/golomb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/golomb.h b/libavcodec/golomb.h
index 695609f6c7..989a87a88e 100644
--- a/libavcodec/golomb.h
+++ b/libavcodec/golomb.h
@@ -75,7 +75,8 @@ static inline int get_ue_golomb(GetBitContext *gb){
}
/**
- * 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;