diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-02-23 12:14:13 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-02-23 12:14:13 +0000 |
commit | fc323a5480c14a0f1ffcb8aae06572397be4b38d (patch) | |
tree | b8bce145d73b4cca0bf495c82d3fffac3ce3f412 /libavutil | |
parent | 02cd6f542630771bac040a712b0ab025496cded9 (diff) | |
download | ffmpeg-fc323a5480c14a0f1ffcb8aae06572397be4b38d.tar.gz |
Clarify non constness of src in av_fifo_generic_write()
Originally committed as revision 21997 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/fifo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/fifo.c b/libavutil/fifo.c index 840b73a57b..cfb716e53b 100644 --- a/libavutil/fifo.c +++ b/libavutil/fifo.c @@ -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; |