summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-06-22 14:09:08 +0000
committerMartin Storsjö <martin@martin.st>2010-06-22 14:09:08 +0000
commit735cf6b2657c48ffd9ba4eb66ae8a0a3419de074 (patch)
tree8b1bd2a99e32bd3f7c63112a8f7afea79eae57c2 /libavformat/avio.h
parent4636f115513d8dadf1a398e64e7889899e2c89ca (diff)
Add priv_data_size and priv_data_class to URLProtocol
This allows url_alloc to allocate and initialize the priv_data. Originally committed as revision 23706 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 752f6e2cba..f41f6fac41 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -251,6 +251,8 @@ typedef struct URLProtocol {
int64_t (*url_read_seek)(URLContext *h, int stream_index,
int64_t timestamp, int flags);
int (*url_get_file_handle)(URLContext *h);
+ int priv_data_size;
+ const AVClass *priv_data_class;
} URLProtocol;
#if LIBAVFORMAT_VERSION_MAJOR < 53