summaryrefslogtreecommitdiff
path: root/libavcodec/golomb.h
diff options
context:
space:
mode:
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;