]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/avio_internal.h
avformat/http: fix memory leak in parse_cookie.
[ffmpeg] / libavformat / avio_internal.h
index c01835df96fc120904557416e0050eaff493dee7..04c1ad5157bf188c7c9c92219d649c168daf4f5d 100644 (file)
@@ -132,6 +132,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