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

Michael Niedermayer michaelni at gmx.at
Fri Apr 15 03:59:40 CEST 2011


On Thu, Apr 14, 2011 at 06:29:48PM +0200, Stefano Sabatini wrote:
> 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,

yes


> but I agree this should be changed, hope to come
> with a patch this weekend.

thanks

[...]
--
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20110415/29bdf8ef/attachment.asc>


More information about the ffmpeg-cvslog mailing list