Library Version Macros

Useful to check and match library version in order to maintain backward compatibility. More...

Modules

 Version and Build diagnostics
 Macros and function useful to check at compiletime and at runtime which version of libavutil is in use.
 

Macros

#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)
 

Detailed Description

Useful to check and match library version in order to maintain backward compatibility.

Useful to check and match library version in order to maintain backward compatibility.

Macro Definition Documentation

#define AV_VERSION (   a,
  b,
 
)    AV_VERSION_DOT(a, b, c)

Definition at line 142 of file avutil.h.

#define AV_VERSION_DOT (   a,
  b,
 
)    a ##.## b ##.## c

Definition at line 141 of file avutil.h.

#define AV_VERSION_INT (   a,
  b,
 
)    (a<<16 | b<<8 | c)

Definition at line 140 of file avutil.h.