diff options
author | Stefan Huehner <stefan@huehner.org> | 2006-06-17 15:53:23 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-06-17 15:53:23 +0000 |
commit | a97c1e93aa3c1fbb7cde0699b36ea9be466c6a52 (patch) | |
tree | fa39edd0203e307b8d730eec10e717b918f06c1f /libavformat/avformat.h | |
parent | c8e9f801762f325e155dacd424226fd0d382c591 (diff) | |
download | ffmpeg-a97c1e93aa3c1fbb7cde0699b36ea9be466c6a52.tar.gz |
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
Originally committed as revision 5492 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 025826892a..c94a9b1190 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -604,7 +604,7 @@ int fifo_init(FifoBuffer *f, int size); 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); |