diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2003-10-12 21:25:00 +0000 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2003-10-12 21:25:00 +0000 |
commit | ed7debda140ca5d1d8a7203abf92acb9f8eb112c (patch) | |
tree | 9c25183603e0d2793c81f0d1631a336190c38a4a /libavcodec/common.c | |
parent | d6896c49ccd3f02500d0397b63b4dda5d9e24ea9 (diff) | |
download | ffmpeg-ed7debda140ca5d1d8a7203abf92acb9f8eb112c.tar.gz |
removed the obsolete and unused parameters of init_put_bits
Originally committed as revision 2366 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/common.c')
-rw-r--r-- | libavcodec/common.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libavcodec/common.c b/libavcodec/common.c index 6f1892a0a3..58d625f099 100644 --- a/libavcodec/common.c +++ b/libavcodec/common.c @@ -44,18 +44,11 @@ const uint8_t ff_log2_tab[256]={ 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; |