comparison 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
comparison
equal deleted inserted replaced
8968:b123ed268953 8969:9218ef5d5afb
73 return buf; 73 return buf;
74 } 74 }
75 } 75 }
76 76
77 /** 77 /**
78 * read unsigned exp golomb code, constraint to a max of 31 78 * read unsigned exp golomb code, constraint to a max of 31.
79 * the return value is undefined if the stored value exceeds 31.
79 */ 80 */
80 static inline int get_ue_golomb_31(GetBitContext *gb){ 81 static inline int get_ue_golomb_31(GetBitContext *gb){
81 unsigned int buf; 82 unsigned int buf;
82 83
83 OPEN_READER(re, gb); 84 OPEN_READER(re, gb);