1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-20 05:42:19 +00:00
vf_remove_logo.c:738: warning: passing argument 2 of 'memcpy_pic' discards qualifiers from pointer target type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17096 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rathann 2005-12-05 01:30:01 +00:00
parent a3c0f4decd
commit 52dfba2d4d

View File

@ -20,7 +20,7 @@ extern void * mem2agpcpy(void * to, const void * from, size_t len);
#define mem2agpcpy(a,b,c) memcpy(a,b,c)
#endif
static inline void * mem2agpcpy_pic(void * dst, void * src, int bytesPerLine, int height, int dstStride, int srcStride)
static inline void * mem2agpcpy_pic(void * dst, const void * src, int bytesPerLine, int height, int dstStride, int srcStride)
{
int i;
void *retval=dst;
@ -48,7 +48,7 @@ static inline void * mem2agpcpy_pic(void * dst, void * src, int bytesPerLine, in
return retval;
}
static inline void * memcpy_pic(void * dst, void * src, int bytesPerLine, int height, int dstStride, int srcStride)
static inline void * memcpy_pic(void * dst, const void * src, int bytesPerLine, int height, int dstStride, int srcStride)
{
int i;
void *retval=dst;