mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-30 13:50:50 +08:00
mov demuxer: use int64_t for next_ts
d1b96c3808 fixes some hevc seeking issues
but will int overflow when timestamp is >int_max.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user