Revision 333146dd

View differences:

libavformat/avio.h
65 65

  
66 66
typedef int URLInterruptCB(void);
67 67

  
68
/**
69
 * Creates an URLContext for accessing to the resource indicated by
70
 * filename, and opens it using the URLProtocol up.
71
 *
72
 * @param puc pointer to the location where, in case of success, the
73
 * function puts the pointer to the created URLContext
74
 * @param flags flags which control how the resource indicated by filename
75
 * is to be opened
76
 * @return 0 in case of success, a negative value corresponding to an
77
 * AVERROR code in case of failure
78
 */
68 79
int url_open_protocol (URLContext **puc, struct URLProtocol *up,
69 80
                       const char *filename, int flags);
81

  
70 82
int url_open(URLContext **h, const char *filename, int flags);
71 83

  
72 84
/**

Also available in: Unified diff