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

Git pushed a commit to branch master
in repository ffmpeg.

commit 0a83c9660dccf803e260d6e3ca2ab47380457838
Author:     Niklas Haas <[email protected]>
AuthorDate: Tue Jul 21 13:32:46 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Mon Aug 31 19:10:45 2026 +0000

    avformat/shared: don't consider EINTR a hard failure
    
    Don't trigger `write_err` for this transient failure.
    
    Sponsored-by: nxtedition AB
    Signed-off-by: Niklas Haas <[email protected]>
---
 libavformat/shared.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/libavformat/shared.c b/libavformat/shared.c
index b649ac7d9e..85c4063391 100644
--- a/libavformat/shared.c
+++ b/libavformat/shared.c
@@ -829,9 +829,11 @@ read_block:
     if (bytes_read > 0) {
         ret = write_back ? write_cache(s, tmp, bytes_read, block_pos) : 0;
         if (ret < 0) {
-            av_log(h, AV_LOG_ERROR, "Failed to write to cache file: %s\n",
-                   av_err2str(ret));
-            s->write_err = 1;
+            if (ret != AVERROR(EINTR)) {
+                av_log(h, AV_LOG_ERROR, "Failed to write to cache file: %s\n",
+                    av_err2str(ret));
+                s->write_err = 1;
+            }
             RELEASE_PENDING(block, state);
         } else {
             uint32_t crc = get_block_crc(tmp, bytes_read);

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to