Revision 333e8943 libavformat/avio.h

View differences:

libavformat/avio.h
94 94

  
95 95
typedef int URLInterruptCB(void);
96 96

  
97
#if FF_API_OLD_AVIO
97 98
/**
98
 * Create a URLContext for accessing to the resource indicated by
99
 * url, and open it using the URLProtocol up.
100
 *
101
 * @param puc pointer to the location where, in case of success, the
102
 * function puts the pointer to the created URLContext
103
 * @param flags flags which control how the resource indicated by url
104
 * is to be opened
105
 * @return 0 in case of success, a negative value corresponding to an
106
 * AVERROR code in case of failure
99
 * @defgroup old_url_funcs Old url_* functions
100
 * @deprecated use the buffered API based on AVIOContext instead
101
 * @{
107 102
 */
108
int url_open_protocol (URLContext **puc, struct URLProtocol *up,
109
                       const char *url, int flags);
103
attribute_deprecated int url_open_protocol (URLContext **puc, struct URLProtocol *up,
104
                                            const char *url, int flags);
105
#endif
110 106

  
111 107
/**
112 108
 * Create a URLContext for accessing to the resource indicated by
......
339 335
#define AVIO_SEEKABLE_NORMAL 0x0001 /**< Seeking works like for a local file */
340 336

  
341 337
/**
338
 * @}
339
 */
340

  
341
/**
342 342
 * Bytestream IO Context.
343 343
 * New fields can be added to the end with minor version bumps.
344 344
 * Removal, reordering and changes to existing fields require a major

Also available in: Unified diff