Mercurial > libavformat.hg
changeset 4287:fcc542fd3214 libavformat
Move documentation of av_register_all() from allformats.c to
avformat.h, and extend it.
author | stefano |
---|---|
date | Sun, 25 Jan 2009 16:44:45 +0000 |
parents | 2af9d6b4db07 |
children | 8f0e6cdf0a59 |
files | allformats.c avformat.h |
diffstat | 2 files changed, 9 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/allformats.c Sun Jan 25 01:21:10 2009 +0000 +++ b/allformats.c Sun Jan 25 16:44:45 2009 +0000 @@ -36,12 +36,6 @@ extern URLProtocol x##_protocol; \ if(CONFIG_##X##_PROTOCOL) register_protocol(&x##_protocol); } -/* If you do not call this function, then you can select exactly which - formats you want to support */ - -/** - * Initialize libavformat and register all the (de)muxers and protocols. - */ void av_register_all(void) { static int initialized;
--- a/avformat.h Sun Jan 25 01:21:10 2009 +0000 +++ b/avformat.h Sun Jan 25 16:44:45 2009 +0000 @@ -757,6 +757,15 @@ */ void av_pkt_dump_log(void *avcl, int level, AVPacket *pkt, int dump_payload); +/** + * Initialize libavformat and register all the muxers, demuxers and + * protocols. If you do not call this function, then you can select + * exactly which formats you want to support. + * + * @see av_register_input_format() + * @see av_register_output_format() + * @see register_protocol() + */ void av_register_all(void); /** codec tag <-> codec id */