summaryrefslogtreecommitdiffstats
path: root/libavformat/avio_internal.h
diff options
context:
space:
mode:
authorJeyapal, Karthick <kjeyapal@akamai.com>2017-11-29 14:31:34 +0800
committerSteven Liu <lq@chinaffmpeg.org>2017-11-29 14:31:34 +0800
commit62f63b24bfec22134bc5b9312bc6afe824e63199 (patch)
treebec96a17cc2c08eb756747481dfae8fa279415bb /libavformat/avio_internal.h
parentc5fd57f483d2ad8e34551b78509f1e14136f73c0 (diff)
downloadffmpeg-streaming-62f63b24bfec22134bc5b9312bc6afe824e63199.zip
ffmpeg-streaming-62f63b24bfec22134bc5b9312bc6afe824e63199.tar.gz
libavformat/avio: Utility function to return URLContext
Diffstat (limited to 'libavformat/avio_internal.h')
-rw-r--r--libavformat/avio_internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavformat/avio_internal.h b/libavformat/avio_internal.h
index c01835d..04c1ad5 100644
--- a/libavformat/avio_internal.h
+++ b/libavformat/avio_internal.h
@@ -133,6 +133,14 @@ int ffio_open_dyn_packet_buf(AVIOContext **s, int max_packet_size);
int ffio_fdopen(AVIOContext **s, URLContext *h);
/**
+ * Return the URLContext associated with the AVIOContext
+ *
+ * @param s IO context
+ * @return pointer to URLContext or NULL.
+ */
+URLContext *ffio_geturlcontext(AVIOContext *s);
+
+/**
* Open a write-only fake memory stream. The written data is not stored
* anywhere - this is only used for measuring the amount of data
* written.
OpenPOWER on IntegriCloud