Mercurial > libavcodec.hg
diff common.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 | 45aeed789017 |
children | dd544554ed42 |
line wrap: on
line diff
--- a/common.c Sun Oct 12 19:18:37 2003 +0000 +++ b/common.c Sun Oct 12 21:25:00 2003 +0000 @@ -44,18 +44,11 @@ 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7 }; -void init_put_bits(PutBitContext *s, - uint8_t *buffer, int buffer_size, - void *opaque, - void (*write_data)(void *, uint8_t *, int)) +void init_put_bits(PutBitContext *s, uint8_t *buffer, int buffer_size) { s->buf = buffer; s->buf_end = s->buf + buffer_size; s->data_out_size = 0; - if(write_data!=NULL) - { - fprintf(stderr, "write Data callback is not supported\n"); - } #ifdef ALT_BITSTREAM_WRITER s->index=0; ((uint32_t*)(s->buf))[0]=0;