mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-04 19:07:55 +00:00
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
This commit is contained in:
parent
c8e9f80176
commit
a97c1e93aa
10 changed files with 15 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue