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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Apr 14 08:58:38 CEST 2011


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?


More information about the ffmpeg-cvslog mailing list