1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

avformat/avformat: Remove outdated io_close2 documentation

The io_close callback has been removed in
d6799ee0e4.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-05-17 15:21:48 +02:00
parent 66f5323652
commit bd63c374d2

View File

@@ -1870,10 +1870,6 @@ typedef struct AVFormatContext {
/** /**
* A callback for closing the streams opened with AVFormatContext.io_open(). * 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 s the format context
* @param pb IO context to be closed and freed * @param pb IO context to be closed and freed
* @return 0 on success, a negative AVERROR code on failure * @return 0 on success, a negative AVERROR code on failure