Browse code

Make src const.

Originally committed as revision 11813 to svn://svn.ffmpeg.org/ffmpeg/trunk

Michael Niedermayer authored on 2008/02/03 02:13:40
Showing 1 changed files
... ...
@@ -166,7 +166,7 @@ typedef struct PPContext{
166 166
 } PPContext;
167 167
 
168 168
 
169
-static inline void linecpy(void *dest, void *src, int lines, int stride)
169
+static inline void linecpy(void *dest, const void *src, int lines, int stride)
170 170
 {
171 171
         if (stride > 0) {
172 172
                 memcpy(dest, src, lines*stride);