comparison h263.c @ 1522:79dddc5cd990 libavcodec

removed the obsolete and unused parameters of init_put_bits
author alex
date Sun, 12 Oct 2003 21:25:00 +0000
parents c232b6753012
children 39efe24058ad
comparison
equal deleted inserted replaced
1521:c232b6753012 1522:79dddc5cd990
1707 s->ac_esc_length= 7+2+1+6+1+12+1; 1707 s->ac_esc_length= 7+2+1+6+1+12+1;
1708 1708
1709 if(s->flags & CODEC_FLAG_GLOBAL_HEADER){ 1709 if(s->flags & CODEC_FLAG_GLOBAL_HEADER){
1710 1710
1711 s->avctx->extradata= av_malloc(1024); 1711 s->avctx->extradata= av_malloc(1024);
1712 init_put_bits(&s->pb, s->avctx->extradata, 1024, NULL, NULL); 1712 init_put_bits(&s->pb, s->avctx->extradata, 1024);
1713 1713
1714 mpeg4_encode_visual_object_header(s); 1714 mpeg4_encode_visual_object_header(s);
1715 mpeg4_encode_vol_header(s, 0, 0); 1715 mpeg4_encode_vol_header(s, 0, 0);
1716 1716
1717 // ff_mpeg4_stuffing(&s->pb); ? 1717 // ff_mpeg4_stuffing(&s->pb); ?
2610 2610
2611 #ifdef CONFIG_ENCODERS 2611 #ifdef CONFIG_ENCODERS
2612 2612
2613 void ff_mpeg4_init_partitions(MpegEncContext *s) 2613 void ff_mpeg4_init_partitions(MpegEncContext *s)
2614 { 2614 {
2615 init_put_bits(&s->tex_pb, s->tex_pb_buffer, PB_BUFFER_SIZE, NULL, NULL); 2615 init_put_bits(&s->tex_pb, s->tex_pb_buffer, PB_BUFFER_SIZE);
2616 init_put_bits(&s->pb2 , s->pb2_buffer , PB_BUFFER_SIZE, NULL, NULL); 2616 init_put_bits(&s->pb2 , s->pb2_buffer , PB_BUFFER_SIZE);
2617 } 2617 }
2618 2618
2619 void ff_mpeg4_merge_partitions(MpegEncContext *s) 2619 void ff_mpeg4_merge_partitions(MpegEncContext *s)
2620 { 2620 {
2621 const int pb2_len = get_bit_count(&s->pb2 ); 2621 const int pb2_len = get_bit_count(&s->pb2 );