diff options
author | Michael Niedermayer <[email protected]> | 2011-05-02 04:25:42 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2011-05-02 04:25:42 +0200 |
commit | 66b1f210c024a08ba00e4a730e64940d248b8717 (patch) | |
tree | dfafd57204632ec43fbb3cf065e13d2d882d3e57 | |
parent | d4b98d475f8abf9f05ebe91b3fce341aa4b902ee (diff) |
Revert "avio: Fix the deprecated fallback URL-prefixed open flags"
This reverts commit 5b81e295931bad4dac0af29333b4e2a203b3f4d4.
-rw-r--r-- | libavformat/avio.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index 23e099d3fb..9d805822d4 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -152,9 +152,9 @@ attribute_deprecated int url_poll(URLPollEntry *poll_table, int n, int timeout); * constants, optionally ORed with other flags. * @{ */ -#define URL_RDONLY 1 /**< read-only */ -#define URL_WRONLY 2 /**< write-only */ -#define URL_RDWR (URL_RDONLY|URL_WRONLY) /**< read-write */ +#define URL_RDONLY 0 /**< read-only */ +#define URL_WRONLY 1 /**< write-only */ +#define URL_RDWR 2 /**< read-write */ /** * @} */ |