[FFmpeg-devel] [VOTE] drop support for using libav* compiled with mingw/cygwin in msvc
Reimar Döffinger
Reimar.Doeffinger
Mon Feb 25 16:06:54 CET 2008
Hello,
On Mon, Feb 25, 2008 at 03:03:09PM +0100, Michael Niedermayer wrote:
> > nor are they significantly complex.
>
> I think everyone understood the original at first sight:
>
> -#define LIBAVUTIL_VERSION_INT ((49<<16)+(6<<8)+0)
> -#define LIBAVUTIL_VERSION 49.6.0
>
>
> how many understand the following on first sight?
>
> +#define AV_VERSION_INT_3(a, b, c) (a<<16 | b<<8 | c)
> +#define AV_VERSION_INT(x) AV_VERSION_INT_3(x)
> +
> +#define AV_VERSION_3(a, b, c) a ##.## b ##.## c
> +#define AV_VERSION(x) AV_VERSION_3(x)
> +
> +#define LIBAVUTIL_VERSION_TRIPLET 49,6,0
> +
> +#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_TRIPLET)
> +#define LIBAVUTIL_VERSION AV_VERSION(LIBAVUTIL_VERSION_TRIPLET)
I do not really like it either, but it is more than one person who
changed one and forgot to change the other, which is why I really would
like to have the functionality...
More information about the ffmpeg-devel
mailing list