1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avcodec/ffv1enc: run1start variables should fit in 32bit

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer
2025-03-25 15:12:55 +01:00
parent 4ebc1f06e9
commit f1235f4bc1

View File

@ -1266,8 +1266,8 @@ static int encode_float32_remap_segment(FFV1SliceContext *sc,
int i = 0;
int current_mul_index = -1;
int run1final = 0;
int64_t run1start_i;
int64_t run1start_last_val;
int run1start_i;
int run1start_last_val;
int run1start_mul_index;
memcpy(mul, mul_tab, sizeof(*mul_tab)*(mul_count+1));