Mercurial > libavcodec.hg
changeset 9320:fec13de9a1f2 libavcodec
Add a notice telling that the behavior of skip_put_bits() is undefined
if n is 0.
author | stefano |
---|---|
date | Tue, 31 Mar 2009 19:57:53 +0000 |
parents | 44de9c136513 |
children | fdd902365b49 |
files | bitstream.h |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/bitstream.h Tue Mar 31 19:39:47 2009 +0000 +++ b/bitstream.h Tue Mar 31 19:57:53 2009 +0000 @@ -337,6 +337,7 @@ /** * Skips the given number of bits. * 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){ #ifdef ALT_BITSTREAM_WRITER