X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Favio_internal.h;h=04c1ad5157bf188c7c9c92219d649c168daf4f5d;hb=9147c0975533c83564b1ba47f22952b291b80282;hp=c01835df96fc120904557416e0050eaff493dee7;hpb=c9cd990dcc8e3bdfb3be8eacd6ce62e1da8b4077;p=ffmpeg diff --git a/libavformat/avio_internal.h b/libavformat/avio_internal.h index c01835df96f..04c1ad5157b 100644 --- a/libavformat/avio_internal.h +++ b/libavformat/avio_internal.h @@ -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