Commit 5f1836a7 authored by Stefano Sabatini's avatar Stefano Sabatini

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
parent 52069c4d
......@@ -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));
}
/**
......
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