[FFmpeg-cvslog] avformat/avformat: Remove outdated io_close2 documentation
Andreas Rheinhardt
git at videolan.org
Wed May 21 04:27:06 EEST 2025
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sat May 17 15:21:48 2025 +0200| [bd63c374d22f57a6711b75283659f0689eeb56b4] | committer: Andreas Rheinhardt
avformat/avformat: Remove outdated io_close2 documentation
The io_close callback has been removed in
d6799ee0e41dee35ebf9c664173aed8e3ab24141.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bd63c374d22f57a6711b75283659f0689eeb56b4
---
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
More information about the ffmpeg-cvslog
mailing list