aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/put_bits.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-11-30 23:52:28 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-11-30 23:52:28 +0000
commit5f1836a7de6e21381ad37533737d38c3fb62d3d1 (patch)
treef5a57ae26c8eddaa713e6159ce9cbda8f5403576 /libavcodec/put_bits.h
parent52069c4d3c92f68605fadf012ab0da594ee9bae4 (diff)
downloadffmpeg-5f1836a7de6e21381ad37533737d38c3fb62d3d1.tar.gz
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
Diffstat (limited to 'libavcodec/put_bits.h')
-rw-r--r--libavcodec/put_bits.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/put_bits.h b/libavcodec/put_bits.h
index d16abfc56b..5f9811e8fc 100644
--- a/libavcodec/put_bits.h
+++ b/libavcodec/put_bits.h
@@ -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));
}
/**