changeset 10608:dab94852ac8b libavcodec

Rename parameters of put_sbits() to make them consistent with those of put_bits().
author stefano
date Mon, 30 Nov 2009 23:52:28 +0000
parents 6e672d7eb297
children f864e7927dff
files put_bits.h
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/put_bits.h	Mon Nov 30 23:08:25 2009 +0000
+++ b/put_bits.h	Mon Nov 30 23:52:28 2009 +0000
@@ -256,11 +256,11 @@
 }
 #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));
 }
 
 /**