mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 07:42:17 +00:00
fix
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:
parent
a3c0f4decd
commit
52dfba2d4d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user