Mercurial > libavformat.hg
comparison avformat.h @ 1123:6992dd78ff68 libavformat
Add (mostly) const to variable and parameter declaration, where a char* was
used and 'const char*' should be, plus make some function declarations
static if they aren't used outside their declaring source file.
patch by Stefan Huehner stefan%%at%%huehner%%dot%%org
author | diego |
---|---|
date | Sat, 17 Jun 2006 15:53:23 +0000 |
parents | 3aeb079a7e74 |
children | 9b97e67aedfc |
comparison
equal
deleted
inserted
replaced
1122:f8ee5a4b576e | 1123:6992dd78ff68 |
---|---|
602 | 602 |
603 int fifo_init(FifoBuffer *f, int size); | 603 int fifo_init(FifoBuffer *f, int size); |
604 void fifo_free(FifoBuffer *f); | 604 void fifo_free(FifoBuffer *f); |
605 int fifo_size(FifoBuffer *f, uint8_t *rptr); | 605 int fifo_size(FifoBuffer *f, uint8_t *rptr); |
606 int fifo_read(FifoBuffer *f, uint8_t *buf, int buf_size, uint8_t **rptr_ptr); | 606 int fifo_read(FifoBuffer *f, uint8_t *buf, int buf_size, uint8_t **rptr_ptr); |
607 void fifo_write(FifoBuffer *f, uint8_t *buf, int size, uint8_t **wptr_ptr); | 607 void fifo_write(FifoBuffer *f, const uint8_t *buf, int size, uint8_t **wptr_ptr); |
608 int put_fifo(ByteIOContext *pb, FifoBuffer *f, int buf_size, uint8_t **rptr_ptr); | 608 int put_fifo(ByteIOContext *pb, FifoBuffer *f, int buf_size, uint8_t **rptr_ptr); |
609 void fifo_realloc(FifoBuffer *f, unsigned int size); | 609 void fifo_realloc(FifoBuffer *f, unsigned int size); |
610 | 610 |
611 /* media file input */ | 611 /* media file input */ |
612 AVInputFormat *av_find_input_format(const char *short_name); | 612 AVInputFormat *av_find_input_format(const char *short_name); |