summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-02-19 19:36:24 +0100
committerAnton Khirnov <anton@khirnov.net>2016-02-22 11:28:35 +0100
commit7fbb3b5b9857276b4cd17b2a530c7e0880d2bc0a (patch)
tree927ab993d3f7861ed2b9652dd0dd3e12f0908bc7 /libavformat/avformat.h
parent5efd91284e56d444139ed811671c59a129bbb92f (diff)
lavf: use the io_open callbacks for files opened from open_input() as well
There is no real reason to treat them differently.
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 3dfbf6468c..8dab2b75e7 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1237,9 +1237,9 @@ typedef struct AVFormatContext {
/**
* A callback for opening new IO streams.
*
- * Certain muxers or demuxers (e.g. for various playlist-based formats) need
- * to open additional files during muxing or demuxing. This callback allows
- * the caller to provide custom IO in such cases.
+ * Whenever a muxer or a demuxer needs to open an IO stream (typically from
+ * avformat_open_input() for demuxers, but for certain formats can happen at
+ * other times as well), it will call this callback to obtain an IO context.
*
* @param s the format context
* @param pb on success, the newly opened IO context should be returned here