diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-03-15 22:16:25 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-03-15 22:17:24 +0100 |
commit | dd2631a6df299d12ce0158f277cb1940e0a800f2 (patch) | |
tree | b3da785e924c168a0d10d0e6d40c282ead7f52d6 /libavcodec/x86 | |
parent | 1bc85fb32dddf01792ae0850aa9a52d4a5737adb (diff) | |
download | ffmpeg-dd2631a6df299d12ce0158f277cb1940e0a800f2.tar.gz |
dsputil: mark source of diff_bytes as const.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/dsputilenc_mmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/dsputilenc_mmx.c b/libavcodec/x86/dsputilenc_mmx.c index c0f9111f41..accfe61be2 100644 --- a/libavcodec/x86/dsputilenc_mmx.c +++ b/libavcodec/x86/dsputilenc_mmx.c @@ -821,7 +821,7 @@ static int vsad16_mmx2(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, i } #undef SUM -static void diff_bytes_mmx(uint8_t *dst, uint8_t *src1, uint8_t *src2, int w){ +static void diff_bytes_mmx(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int w){ x86_reg i=0; __asm__ volatile( "1: \n\t" |