... | ... |
@@ -136,10 +136,10 @@ void url_set_interrupt_cb(URLInterruptCB *interrupt_cb); |
136 | 136 |
#if FF_API_OLD_AVIO |
137 | 137 |
/* not implemented */ |
138 | 138 |
attribute_deprecated int url_poll(URLPollEntry *poll_table, int n, int timeout); |
139 |
-#endif |
|
140 | 139 |
|
141 | 140 |
|
142 | 141 |
#define URL_PROTOCOL_FLAG_NESTED_SCHEME 1 /*< The protocol name can be the first part of a nested protocol scheme */ |
142 |
+#endif |
|
143 | 143 |
|
144 | 144 |
typedef struct URLProtocol { |
145 | 145 |
const char *name; |
... | ... |
@@ -26,6 +26,11 @@ |
26 | 26 |
#define AVFORMAT_URL_H |
27 | 27 |
|
28 | 28 |
#include "avio.h" |
29 |
+#include "libavformat/version.h" |
|
30 |
+ |
|
31 |
+#if !FF_API_OLD_AVIO |
|
32 |
+#define URL_PROTOCOL_FLAG_NESTED_SCHEME 1 /*< The protocol name can be the first part of a nested protocol scheme */ |
|
33 |
+#endif |
|
29 | 34 |
|
30 | 35 |
/** |
31 | 36 |
* Create a URLContext for accessing to the resource indicated by |