diff options
-rw-r--r-- | libavcodec/put_bits.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/put_bits.h b/libavcodec/put_bits.h index d16abfc56b..5f9811e8fc 100644 --- a/libavcodec/put_bits.h +++ b/libavcodec/put_bits.h @@ -256,11 +256,11 @@ static inline void put_bits(PutBitContext *s, int n, unsigned int value) } #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)); } /** |