[FFmpeg-cvslog] r12246 - in trunk: configure libavcodec/avcodec.h libavdevice/avdevice.h libavformat/avformat.h libavutil/avutil.h libpostproc/postprocess.h

Diego Biurrun diego
Wed Feb 27 23:37:32 CET 2008


On Tue, Feb 26, 2008 at 09:37:59PM +0100, mru wrote:
> 
> Log:
> less preprocessor magic in version number macros
> 
> --- trunk/libavutil/avutil.h	(original)
> +++ trunk/libavutil/avutil.h	Tue Feb 26 21:37:59 2008
> @@ -30,16 +30,20 @@
>  
> +#define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c)
> +#define AV_VERSION_DOT(a, b, c) a ##.## b ##.## c
> +#define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c)

Why the indirection with AV_VERSION_DOT?

Diego




More information about the ffmpeg-cvslog mailing list