diff utils.c @ 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 801d4a5cf353
children 62d13f784e01
line wrap: on
line diff
--- a/utils.c	Fri Jun 16 20:45:29 2006 +0000
+++ b/utils.c	Sat Jun 17 15:53:23 2006 +0000
@@ -342,7 +342,7 @@
     }
 }
 
-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;