summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorStefan Huehner <stefan@huehner.org>2006-06-17 15:53:23 +0000
committerDiego Biurrun <diego@biurrun.de>2006-06-17 15:53:23 +0000
commita97c1e93aa3c1fbb7cde0699b36ea9be466c6a52 (patch)
treefa39edd0203e307b8d730eec10e717b918f06c1f /libavformat/utils.c
parentc8e9f801762f325e155dacd424226fd0d382c591 (diff)
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/utils.c')
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index f011bc2d65..375a878059 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -342,7 +342,7 @@ void fifo_realloc(FifoBuffer *f, unsigned int new_size){
}
}
-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 len;
uint8_t *wptr;