changeset 8969:9218ef5d5afb libavcodec

Clarify get_ue_golomb_31() behavior with >31.
author michael
date Wed, 18 Feb 2009 11:57:11 +0000
parents b123ed268953
children 9757b2f87d83
files golomb.h
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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;