FFmpeg
Modules | Macros | Functions
Version and Build diagnostics

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

Modules

 Deprecation Guards
 FF_API_* defines may be placed below to indicate public API that will be dropped at a future version bump. The defines themselves are not part of the public API and may change, break or disappear at any time.
 

Macros

#define LIBAVUTIL_VERSION_MAJOR   59
 
#define LIBAVUTIL_VERSION_MINOR   47
 
#define LIBAVUTIL_VERSION_MICRO   100
 
#define LIBAVUTIL_VERSION_INT
 
#define LIBAVUTIL_VERSION
 
#define LIBAVUTIL_BUILD   LIBAVUTIL_VERSION_INT
 
#define LIBAVUTIL_IDENT   "Lavu" AV_STRINGIFY(LIBAVUTIL_VERSION)
 

Functions

unsigned avutil_version (void)
 Return the LIBAVUTIL_VERSION_INT constant. More...
 
const char * av_version_info (void)
 Return an informative version string. More...
 
const char * avutil_configuration (void)
 Return the libavutil build-time configuration. More...
 
const char * avutil_license (void)
 Return the libavutil license. More...
 

Detailed Description

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

Macro Definition Documentation

◆ LIBAVUTIL_VERSION_MAJOR

#define LIBAVUTIL_VERSION_MAJOR   59

Definition at line 81 of file version.h.

◆ LIBAVUTIL_VERSION_MINOR

#define LIBAVUTIL_VERSION_MINOR   47

Definition at line 82 of file version.h.

◆ LIBAVUTIL_VERSION_MICRO

#define LIBAVUTIL_VERSION_MICRO   100

Definition at line 83 of file version.h.

◆ LIBAVUTIL_VERSION_INT

#define LIBAVUTIL_VERSION_INT

◆ LIBAVUTIL_VERSION

#define LIBAVUTIL_VERSION

◆ LIBAVUTIL_BUILD

#define LIBAVUTIL_BUILD   LIBAVUTIL_VERSION_INT

Definition at line 91 of file version.h.

◆ LIBAVUTIL_IDENT

#define LIBAVUTIL_IDENT   "Lavu" AV_STRINGIFY(LIBAVUTIL_VERSION)

Definition at line 93 of file version.h.

Function Documentation

◆ avutil_version()

unsigned avutil_version ( void  )

Return the LIBAVUTIL_VERSION_INT constant.

Definition at line 36 of file version.c.

◆ av_version_info()

const char* av_version_info ( void  )

Return an informative version string.

This usually is the actual release version number or a git commit description. This string has no fixed format and can change any time. It should never be parsed by code.

Definition at line 31 of file version.c.

◆ avutil_configuration()

const char* avutil_configuration ( void  )

Return the libavutil build-time configuration.

Definition at line 47 of file version.c.

◆ avutil_license()

const char* avutil_license ( void  )

Return the libavutil license.

Definition at line 52 of file version.c.

AV_VERSION
#define AV_VERSION(a, b, c)
Definition: version.h:58
AV_VERSION_INT
#define AV_VERSION_INT(a, b, c)
Definition: version.h:56
LIBAVUTIL_VERSION_MINOR
#define LIBAVUTIL_VERSION_MINOR
Definition: version.h:82
LIBAVUTIL_VERSION_MAJOR
#define LIBAVUTIL_VERSION_MAJOR
Definition: version.h:81
LIBAVUTIL_VERSION_MICRO
#define LIBAVUTIL_VERSION_MICRO
Definition: version.h:83