This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit fb7558dcb06ca33addbdbf012e1dcd8b8c13eb19
Author:     Niklas Haas <[email protected]>
AuthorDate: Sun Feb 15 18:03:38 2026 +0100
Commit:     Niklas Haas <[email protected]>
CommitDate: Wed Mar 4 08:49:53 2026 +0000

    avformat/http: avoid int overflow
    
    This was meant to accumulate int64_t timestamp values.
    
    Fixes: b8daba42cdb4b91e793b91ef3055797b0b7611bd
---
 libavformat/http.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/http.c b/libavformat/http.c
index fc8feaa450..e40cf3674a 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -155,8 +155,8 @@ typedef struct HTTPContext {
     int nb_retries;
     int nb_reconnects;
     int nb_redirects;
-    int sum_latency; /* divide by nb_requests */
-    int max_latency;
+    int64_t sum_latency; /* divide by nb_requests */
+    int64_t max_latency;
     int max_redirects;
 } HTTPContext;
 

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to