PR #25415 opened by Simon Capriotti (capriots) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25415 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25415.patch
>From 51c7bd3723bdb1b7306aaf96ca62791843178f05 Mon Sep 17 00:00:00 2001 From: Simon Capriotti <[email protected]> Date: Sat, 17 Oct 2026 14:32:50 +0200 Subject: [PATCH] avformat/seek: set AVFormatContext.io_repositioned after seeking in ff_seek_frame_binary Signed-off-by: Simon Capriotti <[email protected]> --- libavformat/seek.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/seek.c b/libavformat/seek.c index 4a09d013353..ad864368ea9 100644 --- a/libavformat/seek.c +++ b/libavformat/seek.c @@ -351,6 +351,7 @@ int ff_seek_frame_binary(AVFormatContext *s, int stream_index, if ((ret = avio_seek(s->pb, pos, SEEK_SET)) < 0) return ret; + s->io_repositioned = 1; ff_read_frame_flush(s); avpriv_update_cur_dts(s, st, ts); -- 2.54.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
