Commit b8404847 authored by Anton Khirnov's avatar Anton Khirnov

avio: make URL_PROTOCOL_FLAG_NESTED_SCHEME internal

parent 1305d93c
...@@ -136,10 +136,10 @@ void url_set_interrupt_cb(URLInterruptCB *interrupt_cb); ...@@ -136,10 +136,10 @@ void url_set_interrupt_cb(URLInterruptCB *interrupt_cb);
#if FF_API_OLD_AVIO #if FF_API_OLD_AVIO
/* not implemented */ /* not implemented */
attribute_deprecated int url_poll(URLPollEntry *poll_table, int n, int timeout); attribute_deprecated int url_poll(URLPollEntry *poll_table, int n, int timeout);
#endif
#define URL_PROTOCOL_FLAG_NESTED_SCHEME 1 /*< The protocol name can be the first part of a nested protocol scheme */ #define URL_PROTOCOL_FLAG_NESTED_SCHEME 1 /*< The protocol name can be the first part of a nested protocol scheme */
#endif
typedef struct URLProtocol { typedef struct URLProtocol {
const char *name; const char *name;
......
...@@ -26,6 +26,11 @@ ...@@ -26,6 +26,11 @@
#define AVFORMAT_URL_H #define AVFORMAT_URL_H
#include "avio.h" #include "avio.h"
#include "libavformat/version.h"
#if !FF_API_OLD_AVIO
#define URL_PROTOCOL_FLAG_NESTED_SCHEME 1 /*< The protocol name can be the first part of a nested protocol scheme */
#endif
/** /**
* Create a URLContext for accessing to the resource indicated by * Create a URLContext for accessing to the resource indicated by
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment