This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 90a08d3657654603d45b54d9f4a6b71846578c76 Author: Niklas Haas <[email protected]> AuthorDate: Wed Jun 24 17:39:40 2026 +0200 Commit: Kacper Michajłow <[email protected]> CommitDate: Mon Jul 27 17:05:20 2026 +0000 avformat/libcurl: early exit on no-op seek Signed-off-by: Niklas Haas <[email protected]> --- libavformat/libcurl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/libcurl.c b/libavformat/libcurl.c index 65a0b808ee..8fd9676eae 100644 --- a/libavformat/libcurl.c +++ b/libavformat/libcurl.c @@ -1058,6 +1058,9 @@ static int64_t libcurl_seek(URLContext *h, int64_t pos, int whence) if (newpos < 0) return AVERROR(EINVAL); + if (newpos == c->logical_pos) + return newpos; + /* Restart the transfer at the new offset. Any failure of the new request * surfaces on the following url_read(). */ curl_dispatch(c->loop, CMD_SEEK, c, newpos, 1); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
