[FFmpeg-cvslog] r16774 - in trunk/libavformat: allformats.c avformat.h

stefano subversion
Sun Jan 25 17:44:45 CET 2009


Author: stefano
Date: Sun Jan 25 17:44:45 2009
New Revision: 16774

Log:
Move documentation of av_register_all() from allformats.c to
avformat.h, and extend it.

Modified:
   trunk/libavformat/allformats.c
   trunk/libavformat/avformat.h

Modified: trunk/libavformat/allformats.c
==============================================================================
--- trunk/libavformat/allformats.c	Sun Jan 25 15:01:23 2009	(r16773)
+++ trunk/libavformat/allformats.c	Sun Jan 25 17:44:45 2009	(r16774)
@@ -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;

Modified: trunk/libavformat/avformat.h
==============================================================================
--- trunk/libavformat/avformat.h	Sun Jan 25 15:01:23 2009	(r16773)
+++ trunk/libavformat/avformat.h	Sun Jan 25 17:44:45 2009	(r16774)
@@ -757,6 +757,15 @@ void av_pkt_dump(FILE *f, AVPacket *pkt,
  */
 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 */




More information about the ffmpeg-cvslog mailing list