avcodec/lossless_videodsp: add_hfyu_left_prediction_int16_c: fix harmless integer...
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 15 Feb 2014 15:51:33 +0000 (16:51 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 15 Feb 2014 15:51:33 +0000 (16:51 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/lossless_videodsp.c

index aa1e7df..ca55e6e 100644 (file)
@@ -95,7 +95,7 @@ static void sub_hfyu_median_prediction_int16_c(uint16_t *dst, const uint16_t *sr
     *left_top = lt;
 }
 
-static int add_hfyu_left_prediction_int16_c(uint16_t *dst, const uint16_t *src, unsigned mask, int w, int acc){
+static int add_hfyu_left_prediction_int16_c(uint16_t *dst, const uint16_t *src, unsigned mask, int w, unsigned acc){
     int i;
 
     for(i=0; i<w-1; i++){