Clarify get_ue_golomb_31() behavior with >31.

Originally committed as revision 17429 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 16 years ago
parent a6f925b8f7
commit 9392863d1b
  1. 3
      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){ static inline int get_ue_golomb_31(GetBitContext *gb){
unsigned int buf; unsigned int buf;

Loading…
Cancel
Save