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:
Stefano Sabatini 2009-11-30 23:52:28 +00:00
parent 52069c4d3c
commit 5f1836a7de
1 changed files with 3 additions and 3 deletions

View File

@ -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));
}
/**