[FFmpeg-cvslog] r20677 - trunk/libavcodec/put_bits.h

stefano subversion
Tue Dec 1 00:52:28 CET 2009


Author: stefano
Date: Tue Dec  1 00:52:28 2009
New Revision: 20677

Log:
Rename parameters of put_sbits() to make them consistent with those of
put_bits().

Modified:
   trunk/libavcodec/put_bits.h

Modified: trunk/libavcodec/put_bits.h
==============================================================================
--- trunk/libavcodec/put_bits.h	Tue Dec  1 00:08:25 2009	(r20676)
+++ trunk/libavcodec/put_bits.h	Tue Dec  1 00:52:28 2009	(r20677)
@@ -256,11 +256,11 @@ static inline void put_bits(PutBitContex
 }
 #endif
 
-static inline void put_sbits(PutBitContext *pb, int bits, int32_t val)
+static inline void put_sbits(PutBitContext *pb, int n, int32_t value)
 {
-    assert(bits >= 0 && bits <= 31);
+    assert(n >= 0 && n <= 31);
 
-    put_bits(pb, bits, val & ((1<<bits)-1));
+    put_bits(pb, n, value & ((1<<n)-1));
 }
 
 /**



More information about the ffmpeg-cvslog mailing list