Commit 184fcc60 authored by Alex Converse's avatar Alex Converse

Mark src constant in copy_block*().

Originally committed as revision 18506 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 22c4c3e0
......@@ -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++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment