[FFmpeg-cvslog] avcodec/ffv1enc: run1start variables should fit in 32bit
Michael Niedermayer
git at videolan.org
Fri Apr 4 21:46:19 EEST 2025
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Tue Mar 25 15:12:55 2025 +0100| [f1235f4bc17e3d19a80376a28d5a98a6e179f160] | committer: Michael Niedermayer
avcodec/ffv1enc: run1start variables should fit in 32bit
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f1235f4bc17e3d19a80376a28d5a98a6e179f160
---
libavcodec/ffv1enc.c | 4 ++--
1 file 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));
More information about the ffmpeg-cvslog
mailing list