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/dsputil.h | |
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/dsputil.h')
-rw-r--r-- | libavcodec/dsputil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index e62c35387f..318b118e83 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -378,7 +378,7 @@ typedef struct DSPContext { /* huffyuv specific */ void (*add_bytes)(uint8_t *dst/*align 16*/, uint8_t *src/*align 16*/, int w); - void (*diff_bytes)(uint8_t *dst/*align 16*/, uint8_t *src1/*align 16*/, uint8_t *src2/*align 1*/,int w); + void (*diff_bytes)(uint8_t *dst/*align 16*/, const uint8_t *src1/*align 16*/, const uint8_t *src2/*align 1*/,int w); /** * subtract huffyuv's variant of median prediction * note, this might read from src1[-1], src2[-1] |