diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2009-10-19 00:47:25 +0400 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2009-10-19 00:47:25 +0400 |
commit | e17ccf60fe4ef23424f567bfa7e58199735d43fe (patch) | |
tree | 26bd77c344ffd2fe19203b1d73f6467984c4f133 /libavcodec/dsputil.c | |
parent | 7857d3ccf6f170fec47ff288010d2f5522294da6 (diff) |
huffyuv: add some const qualifiers
Originally committed as revision 20290 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index 0500872036..a04b8a400a 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -3573,7 +3573,7 @@ static void diff_bytes_c(uint8_t *dst, uint8_t *src1, uint8_t *src2, int w){ dst[i+0] = src1[i+0]-src2[i+0]; } -static void add_hfyu_median_prediction_c(uint8_t *dst, const uint8_t *src1, uint8_t *diff, int w, int *left, int *left_top){ +static void add_hfyu_median_prediction_c(uint8_t *dst, const uint8_t *src1, const uint8_t *diff, int w, int *left, int *left_top){ int i; uint8_t l, lt; @@ -3590,7 +3590,7 @@ static void add_hfyu_median_prediction_c(uint8_t *dst, const uint8_t *src1, uint *left_top= lt; } -static void sub_hfyu_median_prediction_c(uint8_t *dst, const uint8_t *src1, uint8_t *src2, int w, int *left, int *left_top){ +static void sub_hfyu_median_prediction_c(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int w, int *left, int *left_top){ int i; uint8_t l, lt; |