Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-17 10:44:44 +0300
committerAnton Khirnov <anton@khirnov.net>2011-04-04 00:47:39 +0400
commit724f6a0fa43f615dcebb2cb16ccb7c60ef7ec95c (patch)
tree1f0ef0812a25da2ba0710e104ec134c47225c273 /libavformat/avio.h
parent403ee835e7913eb9536b22c2b22edfdd700166a9 (diff)
avio: make url_fdopen internal.
The unbuffered URLContext API will be made private, so there's no point in this function being public.
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 69896d1404..ce6429cef5 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -450,6 +450,7 @@ attribute_deprecated void put_flush_packet(AVIOContext *s);
attribute_deprecated int url_open_dyn_buf(AVIOContext **s);
attribute_deprecated int url_open_dyn_packet_buf(AVIOContext **s, int max_packet_size);
attribute_deprecated int url_close_dyn_buf(AVIOContext *s, uint8_t **pbuffer);
+attribute_deprecated int url_fdopen(AVIOContext **s, URLContext *h);
/**
* @}
*/
@@ -625,19 +626,6 @@ attribute_deprecated static inline int url_is_streamed(AVIOContext *s)
}
#endif
-/**
- * Create and initialize a AVIOContext for accessing the
- * resource referenced by the URLContext h.
- * @note When the URLContext h has been opened in read+write mode, the
- * AVIOContext can be used only for writing.
- *
- * @param s Used to return the pointer to the created AVIOContext.
- * In case of failure the pointed to value is set to NULL.
- * @return 0 in case of success, a negative value corresponding to an
- * AVERROR code in case of failure
- */
-int url_fdopen(AVIOContext **s, URLContext *h);
-
#if FF_API_URL_RESETBUF
/** Reset the buffer for reading or writing.
* @note Will drop any data currently in the buffer without transmitting it.