Rename parameters of put_sbits() to make them consistent with those of
put_bits(). Originally committed as revision 20677 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
52069c4d3c
commit
5f1836a7de
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user