diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2008-07-13 14:27:48 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2008-07-13 14:27:48 +0000 |
commit | 6647ab80e36aa2484a145029141984843958b246 (patch) | |
tree | 48875bae682ea15a8e2ef0163cef880fc63f49f2 /libavcodec/asv1.c | |
parent | f9bd305694747b0bb51700c8fe1745beaaf886e3 (diff) | |
download | ffmpeg-6647ab80e36aa2484a145029141984843958b246.tar.gz |
bitstream: move put_sbits() from flacenc.c to bitstream.h and use it
throughout libavcodec.
Originally committed as revision 14204 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/asv1.c')
-rw-r--r-- | libavcodec/asv1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/asv1.c b/libavcodec/asv1.c index 7bf93fbf38..f7ef68e343 100644 --- a/libavcodec/asv1.c +++ b/libavcodec/asv1.c @@ -166,7 +166,7 @@ static inline void asv1_put_level(PutBitContext *pb, int level){ if(index <= 6) put_bits(pb, level_tab[index][1], level_tab[index][0]); else{ put_bits(pb, level_tab[3][1], level_tab[3][0]); - put_bits(pb, 8, level&0xFF); + put_sbits(pb, 8, level); } } |