diff put_bits.h @ 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 f2a8cba717b0
children 8a71d3ce52e2
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));
 }
 
 /**