]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/golomb.h
avcodec/adpcm_ima_apm: cosmetics
[ffmpeg] / libavcodec / golomb.h
index aed9b22471df35c981f1e26f129632a4f233fda5..4d531cf8053c598a41480bc9445c336fcd62694c 100644 (file)
@@ -116,7 +116,8 @@ static inline unsigned get_ue_golomb_long(GetBitContext *gb)
 
 /**
  * read unsigned exp golomb code, constraint to a max of 31.
- * the return value is undefined if the stored value exceeds 31.
+ * If the value encountered is not in 0..31, the return value
+ * is outside the range 0..30.
  */
 static inline int get_ue_golomb_31(GetBitContext *gb)
 {