aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-13 08:01:49 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-19 18:31:55 +0200
commit32b80696e0637ca7254c35e6195bdc9ebb2352e0 (patch)
treee0606c05c017a1228c4fd2c3aed4c2af381a78e2 /libavformat/avio.h
parentdf56d5833959cde9ce60ab43e2923eaaea3287b3 (diff)
downloadffmpeg-32b80696e0637ca7254c35e6195bdc9ebb2352e0.tar.gz
lavf: remove misc disabled cruft.
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 62ea42ca96..c63b545d33 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -357,9 +357,6 @@ attribute_deprecated int url_exist(const char *url);
* one call to another. Thus you should not trust the returned value,
* unless you are sure that no other processes are accessing the
* checked resource.
- *
- * @note This function is slightly broken until next major bump
- * because of AVIO_RDONLY == 0. Don't use it until then.
*/
int avio_check(const char *url, int flags);
@@ -530,15 +527,9 @@ int avio_get_str16be(AVIOContext *pb, int maxlen, char *buf, int buflen);
* constants, optionally ORed with other flags.
* @{
*/
-#if LIBAVFORMAT_VERSION_MAJOR < 53
-#define AVIO_RDONLY 0 /**< read-only */
-#define AVIO_WRONLY 1 /**< write-only */
-#define AVIO_RDWR 2 /**< read-write */
-#else
#define AVIO_RDONLY 1 /**< read-only */
#define AVIO_WRONLY 2 /**< write-only */
#define AVIO_RDWR 4 /**< read-write */
-#endif
/**
* @}
*/
@@ -555,11 +546,7 @@ int avio_get_str16be(AVIOContext *pb, int maxlen, char *buf, int buflen);
* Warning: non-blocking protocols is work-in-progress; this flag may be
* silently ignored.
*/
-#if LIBAVFORMAT_VERSION_MAJOR < 53
-#define AVIO_FLAG_NONBLOCK 4
-#else
#define AVIO_FLAG_NONBLOCK 8
-#endif
/**
* Create and initialize a AVIOContext for accessing the