diff options
author | Alexander Strange <astrange@ithinksw.com> | 2009-10-17 03:04:41 +0400 |
---|---|---|
committer | Alexander Strange <astrange@ithinksw.com> | 2009-10-17 03:04:41 +0400 |
commit | 2d4bbdeceef0e37713c6116a6192aa154214a5d1 (patch) | |
tree | c1b6925165a86b882f364018a9f512c09b29a03d /libavcodec/dsputil.h | |
parent | 8471a1873d15852c0db7edc2750cf971153d4812 (diff) |
Huffyuv: Add missing const to src pointers in dsputil functions.
Originally committed as revision 20259 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r-- | libavcodec/dsputil.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index b94c2f910a..6cb5af2cc5 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -347,10 +347,10 @@ typedef struct DSPContext { * subtract huffyuv's variant of median prediction * note, this might read from src1[-1], src2[-1] */ - void (*sub_hfyu_median_prediction)(uint8_t *dst, uint8_t *src1, uint8_t *src2, int w, int *left, int *left_top); - void (*add_hfyu_median_prediction)(uint8_t *dst, uint8_t *top, uint8_t *diff, int w, int *left, int *left_top); - int (*add_hfyu_left_prediction)(uint8_t *dst, uint8_t *src, int w, int acc); - void (*add_hfyu_left_prediction_bgr32)(uint8_t *dst, uint8_t *src, int w, int *red, int *green, int *blue); + void (*sub_hfyu_median_prediction)(uint8_t *dst, const uint8_t *src1, uint8_t *src2, int w, int *left, int *left_top); + void (*add_hfyu_median_prediction)(uint8_t *dst, const uint8_t *top, uint8_t *diff, int w, int *left, int *left_top); + int (*add_hfyu_left_prediction)(uint8_t *dst, const uint8_t *src, int w, int acc); + void (*add_hfyu_left_prediction_bgr32)(uint8_t *dst, const uint8_t *src, int w, int *red, int *green, int *blue); /* this might write to dst[w] */ void (*add_png_paeth_prediction)(uint8_t *dst, uint8_t *src, uint8_t *top, int w, int bpp); void (*bswap_buf)(uint32_t *dst, const uint32_t *src, int w); |