mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
This commit is contained in:
parent
f3c04c1385
commit
4815e24623
@ -36,12 +36,6 @@
|
|||||||
extern URLProtocol x##_protocol; \
|
extern URLProtocol x##_protocol; \
|
||||||
if(CONFIG_##X##_PROTOCOL) register_protocol(&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)
|
void av_register_all(void)
|
||||||
{
|
{
|
||||||
static int initialized;
|
static int initialized;
|
||||||
|
@ -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);
|
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);
|
void av_register_all(void);
|
||||||
|
|
||||||
/** codec tag <-> codec id */
|
/** codec tag <-> codec id */
|
||||||
|
Loading…
Reference in New Issue
Block a user