Revision 5f1836a7 libavcodec/put_bits.h

View differences:

libavcodec/put_bits.h
256 256
}
257 257
#endif
258 258

  
259
static inline void put_sbits(PutBitContext *pb, int bits, int32_t val)
259
static inline void put_sbits(PutBitContext *pb, int n, int32_t value)
260 260
{
261
    assert(bits >= 0 && bits <= 31);
261
    assert(n >= 0 && n <= 31);
262 262

  
263
    put_bits(pb, bits, val & ((1<<bits)-1));
263
    put_bits(pb, n, value & ((1<<n)-1));
264 264
}
265 265

  
266 266
/**

Also available in: Unified diff