[FFmpeg-cvslog] avio: left-shift AVIO_ flags on next bump
Carl Eugen Hoyos
cehoyos at ag.or.at
Thu Apr 14 11:38:26 CEST 2011
Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:
> On Thu, Apr 14, 2011 at 03:24:36AM +0200, Anton Khirnov wrote:
> > +#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 */
>
> Uh, does that make sense?
> What is AVIO_RDWR | AVIO_RDONLY supposed to mean for example?
This change wasn't merged (either):
http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavformat/avio.h;hb=HEAD
I agree though that it is very difficult atm to follow -cvs.
Carl Eugen
More information about the ffmpeg-cvslog
mailing list