Commit 9392863d authored by Michael Niedermayer's avatar Michael Niedermayer

Clarify get_ue_golomb_31() behavior with >31.

Originally committed as revision 17429 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent a6f925b8
...@@ -75,7 +75,8 @@ static inline int get_ue_golomb(GetBitContext *gb){ ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment