On Mon, 18 Apr 2011 17:21:12 -0400, "Ronald S. Bultje" <rsbul...@gmail.com> wrote: > Hi, > > On Mon, Apr 18, 2011 at 3:03 AM, Anton Khirnov <an...@khirnov.net> wrote: > > --- > > libavformat/avio.h | 13 ------------- > > 1 files changed, 0 insertions(+), 13 deletions(-) > > > > diff --git a/libavformat/avio.h b/libavformat/avio.h > > index 62ea42c..c63b545 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 */ > > Wasn't this going to be "3"? Please fix/commit that also. >
That's done in a later patch by Stefano. -- Anton Khirnov _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel