Revision b0634fd1
libavformat/avio.h | ||
---|---|---|
79 | 79 |
int url_open_protocol (URLContext **puc, struct URLProtocol *up, |
80 | 80 |
const char *url, int flags); |
81 | 81 |
|
82 |
/** |
|
83 |
* Creates an URLContext for accessing to the resource indicated by |
|
84 |
* url, and opens it. |
|
85 |
* |
|
86 |
* @param puc pointer to the location where, in case of success, the |
|
87 |
* function puts the pointer to the created URLContext |
|
88 |
* @param flags flags which control how the resource indicated by url |
|
89 |
* is to be opened |
|
90 |
* @return 0 in case of success, a negative value corresponding to an |
|
91 |
* AVERROR code in case of failure |
|
92 |
*/ |
|
82 | 93 |
int url_open(URLContext **h, const char *url, int flags); |
83 | 94 |
|
84 | 95 |
/** |
Also available in: Unified diff