summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-07 20:25:52 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-08 15:59:19 +0200
commitc486dade95ba529151391a7879538c9d4787752b (patch)
tree6071fd5bb32d595fecc72dcf3ff8cf3f32020a59 /libavformat/avio.h
parentc5704b2b9a9cb38e27d24f9962594def16870c52 (diff)
avio: make URLContext internal.
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 701f3fe66c..a97d6308ac 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -37,12 +37,14 @@
/* unbuffered I/O */
+#if FF_API_OLD_AVIO
/**
* URL Context.
* New fields can be added to the end with minor version bumps.
* Removal, reordering and changes to existing fields require a major
* version bump.
* sizeof(URLContext) must not be used outside libav*.
+ * @deprecated This struct will be made private
*/
typedef struct URLContext {
#if FF_API_URL_CLASS
@@ -57,7 +59,6 @@ typedef struct URLContext {
int is_connected;
} URLContext;
-#if FF_API_OLD_AVIO
typedef struct URLPollEntry {
URLContext *handle;
int events;