The branch, master has been updated
       via  2ffc138e8ab2ab87a383e5e875307ee35313d5ed (commit)
      from  7df9fae4f78bcc46324a10b270849434e5fba970 (commit)


- Log -----------------------------------------------------------------
commit 2ffc138e8ab2ab87a383e5e875307ee35313d5ed
Author:     Muiz Yusuff <[email protected]>
AuthorDate: Fri Aug 22 01:01:48 2025 +0000
Commit:     James Almer <[email protected]>
CommitDate: Mon Aug 25 02:25:50 2025 +0000

    mov demuxer: use int64_t for next_ts
    
    d1b96c380826c505a8c7e655b5ad4fdb0c2de167 fixes some hevc seeking issues
    but will int overflow when timestamp is >int_max.

diff --git a/libavformat/mov.c b/libavformat/mov.c
index e9a582e5aa..ac0c01a67f 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -11299,7 +11299,8 @@ static int mov_seek_stream(AVFormatContext *s, AVStream 
*st, int64_t timestamp,
 {
     MOVStreamContext *sc = st->priv_data;
     FFStream *const sti = ffstream(st);
-    int sample, time_sample, ret, next_ts, requested_sample;
+    int sample, time_sample, ret, requested_sample;
+    int64_t next_ts;
     unsigned int i;
 
     // Here we consider timestamp to be PTS, hence try to offset it so that we

-----------------------------------------------------------------------

Summary of changes:
 libavformat/mov.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 

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

Reply via email to