diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2004-02-06 15:27:31 +0000 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2004-02-06 15:27:31 +0000 |
commit | fe455f3328ca1ae4b71a345f50936d19f30e5c5f (patch) | |
tree | 82a5a6b41535a9a8b2d6efa20d5418931480e2b7 /libavcodec/h263.c | |
parent | de7ff1f774e2610d9ac23d2613a9f7e19e8c0f9d (diff) | |
download | ffmpeg-fe455f3328ca1ae4b71a345f50936d19f30e5c5f.tar.gz |
get_bit_count -> put_bits_count
Originally committed as revision 2752 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r-- | libavcodec/h263.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index de9110a4e2..6a57805bda 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -1972,7 +1972,7 @@ void h263_encode_init(MpegEncContext *s) // ff_mpeg4_stuffing(&s->pb); ? flush_put_bits(&s->pb); - s->avctx->extradata_size= (get_bit_count(&s->pb)+7)>>3; + s->avctx->extradata_size= (put_bits_count(&s->pb)+7)>>3; } break; @@ -2146,7 +2146,7 @@ void ff_mpeg4_stuffing(PutBitContext * pbc) { int length; put_bits(pbc, 1, 0); - length= (-get_bit_count(pbc))&7; + length= (-put_bits_count(pbc))&7; if(length) put_bits(pbc, length, (1<<length)-1); } @@ -2972,9 +2972,9 @@ void ff_mpeg4_init_partitions(MpegEncContext *s) void ff_mpeg4_merge_partitions(MpegEncContext *s) { - const int pb2_len = get_bit_count(&s->pb2 ); - const int tex_pb_len= get_bit_count(&s->tex_pb); - const int bits= get_bit_count(&s->pb); + const int pb2_len = put_bits_count(&s->pb2 ); + const int tex_pb_len= put_bits_count(&s->tex_pb); + const int bits= put_bits_count(&s->pb); if(s->pict_type==I_TYPE){ put_bits(&s->pb, 19, DC_MARKER); @@ -2992,7 +2992,7 @@ void ff_mpeg4_merge_partitions(MpegEncContext *s) ff_copy_bits(&s->pb, s->pb2_buffer , pb2_len); ff_copy_bits(&s->pb, s->tex_pb_buffer, tex_pb_len); - s->last_bits= get_bit_count(&s->pb); + s->last_bits= put_bits_count(&s->pb); } #endif //CONFIG_ENCODERS |