FFmpeg
Macros
version_major.h File Reference

Go to the source code of this file.

Macros

#define LIBAVFORMAT_VERSION_MAJOR   59
 
#define FF_API_LAVF_PRIV_OPT   (LIBAVFORMAT_VERSION_MAJOR < 60)
 FF_API_* defines may be placed below to indicate public API that will be dropped at a future version bump. More...
 
#define FF_API_COMPUTE_PKT_FIELDS2   (LIBAVFORMAT_VERSION_MAJOR < 60)
 
#define FF_API_AVIOCONTEXT_WRITTEN   (LIBAVFORMAT_VERSION_MAJOR < 60)
 
#define FF_HLS_TS_OPTIONS   (LIBAVFORMAT_VERSION_MAJOR < 60)
 
#define FF_API_AVSTREAM_CLASS   (LIBAVFORMAT_VERSION_MAJOR > 59)
 
#define FF_API_GET_END_PTS   (LIBAVFORMAT_VERSION_MAJOR < 60)
 
#define FF_API_AVIODIRCONTEXT   (LIBAVFORMAT_VERSION_MAJOR < 60)
 
#define FF_API_R_FRAME_RATE   1
 

Detailed Description

Libavformat version macros

Definition in file version_major.h.

Macro Definition Documentation

◆ LIBAVFORMAT_VERSION_MAJOR

#define LIBAVFORMAT_VERSION_MAJOR   59

Definition at line 32 of file version_major.h.

◆ FF_API_LAVF_PRIV_OPT

#define FF_API_LAVF_PRIV_OPT   (LIBAVFORMAT_VERSION_MAJOR < 60)

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.

Note
, when bumping the major version it is recommended to manually disable each FF_API_* in its own commit instead of disabling them all at once through the bump. This improves the git bisect-ability of the change.

Definition at line 44 of file version_major.h.

◆ FF_API_COMPUTE_PKT_FIELDS2

#define FF_API_COMPUTE_PKT_FIELDS2   (LIBAVFORMAT_VERSION_MAJOR < 60)

Definition at line 45 of file version_major.h.

◆ FF_API_AVIOCONTEXT_WRITTEN

#define FF_API_AVIOCONTEXT_WRITTEN   (LIBAVFORMAT_VERSION_MAJOR < 60)

Definition at line 46 of file version_major.h.

◆ FF_HLS_TS_OPTIONS

#define FF_HLS_TS_OPTIONS   (LIBAVFORMAT_VERSION_MAJOR < 60)

Definition at line 47 of file version_major.h.

◆ FF_API_AVSTREAM_CLASS

#define FF_API_AVSTREAM_CLASS   (LIBAVFORMAT_VERSION_MAJOR > 59)

Definition at line 48 of file version_major.h.

◆ FF_API_GET_END_PTS

#define FF_API_GET_END_PTS   (LIBAVFORMAT_VERSION_MAJOR < 60)

Definition at line 49 of file version_major.h.

◆ FF_API_AVIODIRCONTEXT

#define FF_API_AVIODIRCONTEXT   (LIBAVFORMAT_VERSION_MAJOR < 60)

Definition at line 50 of file version_major.h.

◆ FF_API_R_FRAME_RATE

#define FF_API_R_FRAME_RATE   1

Definition at line 53 of file version_major.h.