aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2009-04-14 04:07:35 +0000
committerAlex Converse <alex.converse@gmail.com>2009-04-14 04:07:35 +0000
commit184fcc60b7ce5b5c240ba9e0511912d9911dca3b (patch)
tree137dbb206e2756d2b7573f3ae7b21f284e5c04da /libavcodec
parent22c4c3e059be50974b4af2bef7a000062737bdeb (diff)
downloadffmpeg-184fcc60b7ce5b5c240ba9e0511912d9911dca3b.tar.gz
Mark src constant in copy_block*().
Originally committed as revision 18506 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dsputil.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index e9c2bfc77e..345dca9da6 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -819,7 +819,7 @@ static int name16(void /*MpegEncContext*/ *s, uint8_t *dst, uint8_t *src, int st
}
-static inline void copy_block2(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h)
+static inline void copy_block2(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
{
int i;
for(i=0; i<h; i++)
@@ -830,7 +830,7 @@ static inline void copy_block2(uint8_t *dst, uint8_t *src, int dstStride, int sr
}
}
-static inline void copy_block4(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h)
+static inline void copy_block4(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
{
int i;
for(i=0; i<h; i++)
@@ -841,7 +841,7 @@ static inline void copy_block4(uint8_t *dst, uint8_t *src, int dstStride, int sr
}
}
-static inline void copy_block8(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h)
+static inline void copy_block8(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
{
int i;
for(i=0; i<h; i++)
@@ -853,7 +853,7 @@ static inline void copy_block8(uint8_t *dst, uint8_t *src, int dstStride, int sr
}
}
-static inline void copy_block9(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h)
+static inline void copy_block9(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
{
int i;
for(i=0; i<h; i++)
@@ -866,7 +866,7 @@ static inline void copy_block9(uint8_t *dst, uint8_t *src, int dstStride, int sr
}
}
-static inline void copy_block16(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h)
+static inline void copy_block16(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
{
int i;
for(i=0; i<h; i++)
@@ -880,7 +880,7 @@ static inline void copy_block16(uint8_t *dst, uint8_t *src, int dstStride, int s
}
}
-static inline void copy_block17(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h)
+static inline void copy_block17(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
{
int i;
for(i=0; i<h; i++)