[MPlayer-dev-eng] [Patch] libvo/fastmemcpy.h

Yartrebo yartrebo at earthlink.net
Thu Mar 3 06:54:54 CET 2005


Hi,

I've noticed a minor bug in libvo/fastmemcpy.h. Apparently the const
modifier was left out of:

static inline void * memcpy_pic(void * dst, void * src, int
bytesPerLine, int height, int dstStride, int srcStride)

and

static inline void * mem2agpcpy_pic(void * dst, void * src, int
bytesPerLine, int height, int dstStride, int srcStride)



They should read:

static inline void * memcpy_pic(void * dst, const 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)



I've attached a patch to this end.

Sincerely,
Robert Edele

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvo_fastmemcpy.patch
Type: text/x-patch
Size: 965 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050303/ea73ac12/attachment.bin>


More information about the MPlayer-dev-eng mailing list