From ae77c4b0071e0e2f2d98958d52423880fc87429f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 2 Feb 2008 17:13:40 +0000 Subject: Make src const. Originally committed as revision 11813 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libpostproc/postprocess_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpostproc') diff --git a/libpostproc/postprocess_internal.h b/libpostproc/postprocess_internal.h index 2444016673..f2d40e1d50 100644 --- a/libpostproc/postprocess_internal.h +++ b/libpostproc/postprocess_internal.h @@ -166,7 +166,7 @@ typedef struct PPContext{ } 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); -- cgit v1.2.3