diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-01-25 16:44:45 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-01-25 16:44:45 +0000 |
commit | 4815e246234972d7ff1f6e46ebc820dc6fe33fa0 (patch) | |
tree | 6accb7d71f4e4720f3dae2ae7c9ad9c76656345c | |
parent | f3c04c1385b23b86dc448f5dd244c4fed1cc2fb6 (diff) | |
download | ffmpeg-4815e246234972d7ff1f6e46ebc820dc6fe33fa0.tar.gz |
Move documentation of av_register_all() from allformats.c to
avformat.h, and extend it.
Originally committed as revision 16774 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/allformats.c | 6 | ||||
-rw-r--r-- | libavformat/avformat.h | 9 |
2 files changed, 9 insertions, 6 deletions
diff --git a/libavformat/allformats.c b/libavformat/allformats.c index a8b2725ac7..a30693020b 100644 --- a/libavformat/allformats.c +++ b/libavformat/allformats.c @@ -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; diff --git a/libavformat/avformat.h b/libavformat/avformat.h index c74eb89bd2..aeca960979 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -757,6 +757,15 @@ void av_pkt_dump(FILE *f, AVPacket *pkt, int dump_payload); */ 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 */ |