FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
Library Version Macros

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

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)
 
#define AV_VERSION_MAJOR(a)   ((a) >> 16)
 Extract version components from the full AV_VERSION_INT int as returned by functions like avformat_version() and avcodec_version() More...
 
#define AV_VERSION_MINOR(a)   (((a) & 0x00FF00) >> 8)
 
#define AV_VERSION_MICRO(a)   ((a) & 0xFF)
 

Detailed Description

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

Macro Definition Documentation

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

Definition at line 35 of file version.h.

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

Definition at line 36 of file version.h.

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

Definition at line 37 of file version.h.

#define AV_VERSION_MAJOR (   a)    ((a) >> 16)

Extract version components from the full AV_VERSION_INT int as returned by functions like avformat_version() and avcodec_version()

Definition at line 43 of file version.h.

#define AV_VERSION_MINOR (   a)    (((a) & 0x00FF00) >> 8)

Definition at line 44 of file version.h.

#define AV_VERSION_MICRO (   a)    ((a) & 0xFF)

Definition at line 45 of file version.h.