mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avcodec/lossless_videodsp: add_hfyu_left_prediction_int16_c: fix harmless integer overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
042ab7c49e
commit
ed1a687856
@ -95,7 +95,7 @@ static void sub_hfyu_median_prediction_int16_c(uint16_t *dst, const uint16_t *sr
|
|||||||
*left_top = lt;
|
*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;
|
int i;
|
||||||
|
|
||||||
for(i=0; i<w-1; i++){
|
for(i=0; i<w-1; i++){
|
||||||
|
Loading…
Reference in New Issue
Block a user