Steven Liu: > diff --git a/libavformat/url.h b/libavformat/url.h > index 4750bfff82..fe0aa10b27 100644 > --- a/libavformat/url.h > +++ b/libavformat/url.h > @@ -322,6 +322,15 @@ void ff_make_absolute_url(char *buf, int size, const > char *base, > */ > AVIODirEntry *ff_alloc_dir_entry(void); > > +/** > + * Return the URLProtocol of the protocol that will handle the passed name. > + * > + * NULL is returned if no protocol could be found for the name. > + * > + * @return URLProtocol of the protocol or NULL. > + */ > +const URLProtocol *av_find_protocol_by_name(const char *name); > + > const AVClass *ff_urlcontext_child_class_next(const AVClass *prev); > > /**
And url.h is not a public header and therefore the wrong place for this; it should be avio.h (which already contains avio_enum_protocols). - Andreas _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".