Patch attached.

- Andreas
From 0e27f202721b7d3c6e06db5bb909787532350837 Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt <andreas.rheinha...@outlook.com>
Date: Sat, 17 May 2025 15:21:48 +0200
Subject: [PATCH] avformat/avformat: Remove outdated io_close2 documentation

The io_close callback has been removed in
d6799ee0e41dee35ebf9c664173aed8e3ab24141.

Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>
---
 libavformat/avformat.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 498c3020a5..2034d2aecc 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1870,10 +1870,6 @@ typedef struct AVFormatContext {
     /**
      * A callback for closing the streams opened with AVFormatContext.io_open().
      *
-     * Using this is preferred over io_close, because this can return an error.
-     * Therefore this callback is used instead of io_close by the generic
-     * libavformat code if io_close is NULL or the default.
-     *
      * @param s the format context
      * @param pb IO context to be closed and freed
      * @return 0 on success, a negative AVERROR code on failure
-- 
2.45.2

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to