comparison avio.h @ 6161:f7090c70ed34 libavformat

Add priv_data_size and priv_data_class to URLProtocol This allows url_alloc to allocate and initialize the priv_data.
author mstorsjo
date Tue, 22 Jun 2010 14:09:08 +0000
parents 1b4be334ef89
children 48548659926c
comparison
equal deleted inserted replaced
6160:1b4be334ef89 6161:f7090c70ed34
249 struct URLProtocol *next; 249 struct URLProtocol *next;
250 int (*url_read_pause)(URLContext *h, int pause); 250 int (*url_read_pause)(URLContext *h, int pause);
251 int64_t (*url_read_seek)(URLContext *h, int stream_index, 251 int64_t (*url_read_seek)(URLContext *h, int stream_index,
252 int64_t timestamp, int flags); 252 int64_t timestamp, int flags);
253 int (*url_get_file_handle)(URLContext *h); 253 int (*url_get_file_handle)(URLContext *h);
254 int priv_data_size;
255 const AVClass *priv_data_class;
254 } URLProtocol; 256 } URLProtocol;
255 257
256 #if LIBAVFORMAT_VERSION_MAJOR < 53 258 #if LIBAVFORMAT_VERSION_MAJOR < 53
257 extern URLProtocol *first_protocol; 259 extern URLProtocol *first_protocol;
258 #endif 260 #endif