Commit 186e66a9 authored by stefano's avatar stefano

Add a notice telling that the behavior of skip_put_bits() is undefined

if n is 0.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18285 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f480f6ad
...@@ -337,6 +337,7 @@ static inline void skip_put_bytes(PutBitContext *s, int n){ ...@@ -337,6 +337,7 @@ static inline void skip_put_bytes(PutBitContext *s, int n){
/** /**
* Skips the given number of bits. * Skips the given number of bits.
* Must only be used if the actual values in the bitstream do not matter. * Must only be used if the actual values in the bitstream do not matter.
* If \p n is 0 the behavior is undefined.
*/ */
static inline void skip_put_bits(PutBitContext *s, int n){ static inline void skip_put_bits(PutBitContext *s, int n){
#ifdef ALT_BITSTREAM_WRITER #ifdef ALT_BITSTREAM_WRITER
......
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