aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/libmpcodecs
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-03-24 21:23:15 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-03-25 19:05:02 +0100
commit0bfe349d4a3e2a98c6f4f02fb03d8585e531d850 (patch)
tree27a4e75efb5ba739a0df381663f1a17c4f956f9a /libavfilter/libmpcodecs
parentab8b73ff4e305bfdf0aaf1a61a8060605805040b (diff)
downloadffmpeg-0bfe349d4a3e2a98c6f4f02fb03d8585e531d850.tar.gz
Update to latest MPlayer version.
Avoids warnings due to pointlessly casting away const.
Diffstat (limited to 'libavfilter/libmpcodecs')
-rw-r--r--libavfilter/libmpcodecs/libvo/fastmemcpy.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/libmpcodecs/libvo/fastmemcpy.h b/libavfilter/libmpcodecs/libvo/fastmemcpy.h
index 54980a65ac..5a17d0192a 100644
--- a/libavfilter/libmpcodecs/libvo/fastmemcpy.h
+++ b/libavfilter/libmpcodecs/libvo/fastmemcpy.h
@@ -39,7 +39,7 @@ static inline void * mem2agpcpy_pic(void * dst, const void * src, int bytesPerLi
if(dstStride == srcStride)
{
if (srcStride < 0) {
- src = (uint8_t*)src + (height-1)*srcStride;
+ src = (const uint8_t*)src + (height-1)*srcStride;
dst = (uint8_t*)dst + (height-1)*dstStride;
srcStride = -srcStride;
}
@@ -51,7 +51,7 @@ static inline void * mem2agpcpy_pic(void * dst, const void * src, int bytesPerLi
for(i=0; i<height; i++)
{
mem2agpcpy(dst, src, bytesPerLine);
- src = (uint8_t*)src + srcStride;
+ src = (const uint8_t*)src + srcStride;
dst = (uint8_t*)dst + dstStride;
}
}
@@ -76,7 +76,7 @@ static inline void * memcpy_pic2(void * dst, const void * src,
if(!limit2width && dstStride == srcStride)
{
if (srcStride < 0) {
- src = (uint8_t*)src + (height-1)*srcStride;
+ src = (const uint8_t*)src + (height-1)*srcStride;
dst = (uint8_t*)dst + (height-1)*dstStride;
srcStride = -srcStride;
}
@@ -88,7 +88,7 @@ static inline void * memcpy_pic2(void * dst, const void * src,
for(i=0; i<height; i++)
{
fast_memcpy(dst, src, bytesPerLine);
- src = (uint8_t*)src + srcStride;
+ src = (const uint8_t*)src + srcStride;
dst = (uint8_t*)dst + dstStride;
}
}