Mercurial > libpostproc.hg
diff postprocess_internal.h @ 77:13e4f6ebb206 libpostproc
Make src const.
author | michael |
---|---|
date | Sat, 02 Feb 2008 17:13:40 +0000 |
parents | 6e7a1e3b7dd4 |
children | c24dab9bca80 |
line wrap: on
line diff
--- a/postprocess_internal.h Sat Feb 02 17:12:17 2008 +0000 +++ b/postprocess_internal.h Sat Feb 02 17:13:40 2008 +0000 @@ -166,7 +166,7 @@ } PPContext; -static inline void linecpy(void *dest, void *src, int lines, int stride) +static inline void linecpy(void *dest, const void *src, int lines, int stride) { if (stride > 0) { memcpy(dest, src, lines*stride);