Mercurial > libavformat.hg
diff 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 |
line wrap: on
line diff
--- a/avformat.h Fri Jun 16 20:45:29 2006 +0000 +++ b/avformat.h Sat Jun 17 15:53:23 2006 +0000 @@ -604,7 +604,7 @@ void fifo_free(FifoBuffer *f); int fifo_size(FifoBuffer *f, uint8_t *rptr); int fifo_read(FifoBuffer *f, uint8_t *buf, int buf_size, uint8_t **rptr_ptr); -void fifo_write(FifoBuffer *f, uint8_t *buf, int size, uint8_t **wptr_ptr); +void fifo_write(FifoBuffer *f, const uint8_t *buf, int size, uint8_t **wptr_ptr); int put_fifo(ByteIOContext *pb, FifoBuffer *f, int buf_size, uint8_t **rptr_ptr); void fifo_realloc(FifoBuffer *f, unsigned int size);