Mercurial > libavutil.hg
changeset 847:9b61454d2fee libavutil
Clarify non constness of src in av_fifo_generic_write()
author | michael |
---|---|
date | Tue, 23 Feb 2010 12:14:13 +0000 |
parents | 3942cf6cdad3 |
children | f435d64fd243 |
files | fifo.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/fifo.c Mon Feb 22 00:34:08 2010 +0000 +++ b/fifo.c Tue Feb 23 12:14:13 2010 +0000 @@ -78,6 +78,7 @@ 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;