Commit e23bf051 authored by stefano's avatar stefano

Rename parameters of put_sbits() to make them consistent with those of

put_bits().


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20677 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e28a1d49
...@@ -256,11 +256,11 @@ static inline void put_bits(PutBitContext *s, int n, unsigned int value) ...@@ -256,11 +256,11 @@ static inline void put_bits(PutBitContext *s, int n, unsigned int value)
} }
#endif #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));
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment