[SCM] libav/experimental: Doxument url_open().

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:58:34 UTC 2013


The following commit has been merged in the experimental branch:
commit b0634fd11e674ea18d989071adeddeea0e5aca86
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Sun Jan 24 22:07:32 2010 +0000

    Doxument url_open().
    
    Originally committed as revision 21437 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/avio.h b/libavformat/avio.h
index 5c9b7da..7227729 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -79,6 +79,17 @@ typedef int URLInterruptCB(void);
 int url_open_protocol (URLContext **puc, struct URLProtocol *up,
                        const char *url, int flags);
 
+/**
+ * Creates an URLContext for accessing to the resource indicated by
+ * url, and opens it.
+ *
+ * @param puc pointer to the location where, in case of success, the
+ * function puts the pointer to the created URLContext
+ * @param flags flags which control how the resource indicated by url
+ * is to be opened
+ * @return 0 in case of success, a negative value corresponding to an
+ * AVERROR code in case of failure
+ */
 int url_open(URLContext **h, const char *url, int flags);
 
 /**

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list