[FFmpeg-cvslog] r18285 - trunk/libavcodec/bitstream.h

stefano subversion
Tue Mar 31 21:57:53 CEST 2009


Author: stefano
Date: Tue Mar 31 21:57:53 2009
New Revision: 18285

Log:
Add a notice telling that the behavior of skip_put_bits() is undefined
if n is 0.

Modified:
   trunk/libavcodec/bitstream.h

Modified: trunk/libavcodec/bitstream.h
==============================================================================
--- trunk/libavcodec/bitstream.h	Tue Mar 31 21:39:47 2009	(r18284)
+++ trunk/libavcodec/bitstream.h	Tue Mar 31 21:57:53 2009	(r18285)
@@ -337,6 +337,7 @@ static inline void skip_put_bytes(PutBit
 /**
  * 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



More information about the ffmpeg-cvslog mailing list