diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2025-03-25 15:12:55 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2025-04-04 20:30:41 +0200 |
commit | f1235f4bc17e3d19a80376a28d5a98a6e179f160 (patch) | |
tree | f847faa1f23d4856b13ff3c68cea4bc2cf4c003b | |
parent | 4ebc1f06e99117ab2b3fbd243284e2607e35dbf4 (diff) | |
download | ffmpeg-f1235f4bc17e3d19a80376a28d5a98a6e179f160.tar.gz |
avcodec/ffv1enc: run1start variables should fit in 32bit
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/ffv1enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index a09ab30038..cd1f6165f7 100644 --- a/libavcodec/ffv1enc.c +++ b/libavcodec/ffv1enc.c @@ -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)); |