[FFmpeg-devel] [VOTE] drop support for using libav* compiled with mingw/cygwin in msvc

Michael Niedermayer michaelni
Mon Feb 25 16:26:29 CET 2008


On Mon, Feb 25, 2008 at 04:06:54PM +0100, Reimar D?ffinger wrote:
> 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...

what about a simple check in configure which checks that they are equal?


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

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080225/fb103f14/attachment.pgp>



More information about the ffmpeg-devel mailing list