avio: make URL_PROTOCOL_FLAG_NESTED_SCHEME internal
authorAnton Khirnov <anton@khirnov.net>
Mon, 4 Apr 2011 17:55:07 +0000 (19:55 +0200)
committerAnton Khirnov <anton@khirnov.net>
Tue, 5 Apr 2011 06:40:57 +0000 (08:40 +0200)
libavformat/avio.h
libavformat/url.h

index 0845373..5a535f7 100644 (file)
@@ -136,10 +136,10 @@ void url_set_interrupt_cb(URLInterruptCB *interrupt_cb);
 #if FF_API_OLD_AVIO
 /* not implemented */
 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 */
+#endif
 
 typedef struct URLProtocol {
     const char *name;
index eea9678..72c19b6 100644 (file)
 #define AVFORMAT_URL_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