diff options
author | Steven Liu <lq@chinaffmpeg.org> | 2019-03-23 09:04:39 +0300 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2019-03-23 09:04:39 +0300 |
commit | 2cb29a5d8de0c49a2ac2978c2cc39fde2e3a6d66 (patch) | |
tree | 6579962f0cf2f62e0e52a8fe5990ce0582b86242 /libavformat/avformat.h | |
parent | fba42b33b7f25a97b4a05ac62d0b242c51be9e17 (diff) |
avformat/avformat.h: update the comment from deprecated to new API
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 71af0acd88..e1b9b114c9 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -36,17 +36,15 @@ * into component streams, and the reverse process of muxing - writing supplied * data in a specified container format. It also has an @ref lavf_io * "I/O module" which supports a number of protocols for accessing the data (e.g. - * file, tcp, http and others). Before using lavf, you need to call - * av_register_all() to register all compiled muxers, demuxers and protocols. + * file, tcp, http and others). * Unless you are absolutely sure you won't use libavformat's network * capabilities, you should also call avformat_network_init(). * * A supported input format is described by an AVInputFormat struct, conversely * an output format is described by AVOutputFormat. You can iterate over all - * registered input/output formats using the av_iformat_next() / - * av_oformat_next() functions. The protocols layer is not part of the public - * API, so you can only get the names of supported protocols with the - * avio_enum_protocols() function. + * input/output formats using the av_demuxer_iterate / av_muxer_iterate() functions. + * The protocols layer is not part of the public API, so you can only get the names + * of supported protocols with the avio_enum_protocols() function. * * Main lavf structure used for both muxing and demuxing is AVFormatContext, * which exports all information about the file being read or written. As with |