mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 14:15:29 +01:00
Implement url_open_protocol(), which is basiclly the former url_open()
but which opens a URLProtocol instead of a filename. url_open() is reimplemented to call url_open_protocol(). See discussion on "url_open_protocol" on ffmpeg-devel. Originally committed as revision 14857 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -62,6 +62,8 @@ typedef struct URLPollEntry {
|
||||
|
||||
typedef int URLInterruptCB(void);
|
||||
|
||||
int url_open_protocol (URLContext **puc, struct URLProtocol *up,
|
||||
const char *filename, int flags);
|
||||
int url_open(URLContext **h, const char *filename, int flags);
|
||||
int url_read(URLContext *h, unsigned char *buf, int size);
|
||||
int url_write(URLContext *h, unsigned char *buf, int size);
|
||||
|
||||
Reference in New Issue
Block a user