mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Clarify non constness of src in av_fifo_generic_write()
Originally committed as revision 21997 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
02cd6f5426
commit
fc323a5480
@ -78,6 +78,7 @@ int av_fifo_realloc2(AVFifoBuffer *f, unsigned int new_size) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// src must NOT be const as it can be a context for func that may need updating (like a pointer or byte counter)
|
||||
int av_fifo_generic_write(AVFifoBuffer *f, void *src, int size, int (*func)(void*, void*, int))
|
||||
{
|
||||
int total = size;
|
||||
|
Loading…
Reference in New Issue
Block a user