[FFmpeg-cvslog] avio: left-shift AVIO_ flags on next bump

Stefano Sabatini stefano.sabatini-lala at poste.it
Thu Apr 14 18:29:48 CEST 2011


On date Thursday 2011-04-14 09:38:26 +0000, Carl Eugen Hoyos wrote:
> 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.

No? I believe it is, but I agree this should be changed, hope to come
with a patch this weekend.


More information about the ffmpeg-cvslog mailing list