FFmpeg  4.0
Macros
version.h File Reference

Libavformat version macros. More...

#include "libavutil/version.h"

Go to the source code of this file.

Macros

#define LIBAVFORMAT_VERSION_MAJOR   58
 
#define LIBAVFORMAT_VERSION_MINOR   12
 
#define LIBAVFORMAT_VERSION_MICRO   100
 
#define LIBAVFORMAT_VERSION_INT
 
#define LIBAVFORMAT_VERSION
 
#define LIBAVFORMAT_BUILD   LIBAVFORMAT_VERSION_INT
 
#define LIBAVFORMAT_IDENT   "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION)
 
#define FF_API_COMPUTE_PKT_FIELDS2   (LIBAVFORMAT_VERSION_MAJOR < 59)
 FF_API_* defines may be placed below to indicate public API that will be dropped at a future version bump. More...
 
#define FF_API_OLD_OPEN_CALLBACKS   (LIBAVFORMAT_VERSION_MAJOR < 59)
 
#define FF_API_LAVF_AVCTX   (LIBAVFORMAT_VERSION_MAJOR < 59)
 
#define FF_API_HTTP_USER_AGENT   (LIBAVFORMAT_VERSION_MAJOR < 59)
 
#define FF_API_HLS_WRAP   (LIBAVFORMAT_VERSION_MAJOR < 59)
 
#define FF_API_LAVF_KEEPSIDE_FLAG   (LIBAVFORMAT_VERSION_MAJOR < 59)
 
#define FF_API_OLD_ROTATE_API   (LIBAVFORMAT_VERSION_MAJOR < 59)
 
#define FF_API_FORMAT_GET_SET   (LIBAVFORMAT_VERSION_MAJOR < 59)
 
#define FF_API_OLD_AVIO_EOF_0   (LIBAVFORMAT_VERSION_MAJOR < 59)
 
#define FF_API_LAVF_FFSERVER   (LIBAVFORMAT_VERSION_MAJOR < 59)
 
#define FF_API_FORMAT_FILENAME   (LIBAVFORMAT_VERSION_MAJOR < 59)
 
#define FF_API_OLD_RTSP_OPTIONS   (LIBAVFORMAT_VERSION_MAJOR < 59)
 
#define FF_API_NEXT   (LIBAVFORMAT_VERSION_MAJOR < 59)
 
#define FF_API_R_FRAME_RATE   1
 

Detailed Description

Libavformat version macros.

Definition in file version.h.

Macro Definition Documentation

◆ LIBAVFORMAT_VERSION_MAJOR

#define LIBAVFORMAT_VERSION_MAJOR   58

Definition at line 34 of file version.h.

◆ LIBAVFORMAT_VERSION_MINOR

#define LIBAVFORMAT_VERSION_MINOR   12

Definition at line 35 of file version.h.

◆ LIBAVFORMAT_VERSION_MICRO

#define LIBAVFORMAT_VERSION_MICRO   100

Definition at line 36 of file version.h.

Referenced by avformat_version().

◆ LIBAVFORMAT_VERSION_INT

#define LIBAVFORMAT_VERSION_INT
Value:
#define LIBAVFORMAT_VERSION_MAJOR
Definition: version.h:34
#define AV_VERSION_INT(a, b, c)
Definition: version.h:56
#define LIBAVFORMAT_VERSION_MINOR
Definition: version.h:35
#define LIBAVFORMAT_VERSION_MICRO
Definition: version.h:36

Definition at line 38 of file version.h.

Referenced by avformat_version().

◆ LIBAVFORMAT_VERSION

#define LIBAVFORMAT_VERSION
Value:
#define AV_VERSION(a, b, c)
Definition: version.h:58
#define LIBAVFORMAT_VERSION_MAJOR
Definition: version.h:34
#define LIBAVFORMAT_VERSION_MINOR
Definition: version.h:35
#define LIBAVFORMAT_VERSION_MICRO
Definition: version.h:36

Definition at line 41 of file version.h.

Referenced by lrc_write_header(), and mxf_write_identification().

◆ LIBAVFORMAT_BUILD

#define LIBAVFORMAT_BUILD   LIBAVFORMAT_VERSION_INT

Definition at line 44 of file version.h.

◆ LIBAVFORMAT_IDENT

#define LIBAVFORMAT_IDENT   "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION)

◆ FF_API_COMPUTE_PKT_FIELDS2

#define FF_API_COMPUTE_PKT_FIELDS2   (LIBAVFORMAT_VERSION_MAJOR < 59)

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 59 of file version.h.

◆ FF_API_OLD_OPEN_CALLBACKS

#define FF_API_OLD_OPEN_CALLBACKS   (LIBAVFORMAT_VERSION_MAJOR < 59)

Definition at line 62 of file version.h.

◆ FF_API_LAVF_AVCTX

#define FF_API_LAVF_AVCTX   (LIBAVFORMAT_VERSION_MAJOR < 59)

Definition at line 65 of file version.h.

Referenced by avformat_match_stream_specifier().

◆ FF_API_HTTP_USER_AGENT

#define FF_API_HTTP_USER_AGENT   (LIBAVFORMAT_VERSION_MAJOR < 59)

Definition at line 68 of file version.h.

◆ FF_API_HLS_WRAP

#define FF_API_HLS_WRAP   (LIBAVFORMAT_VERSION_MAJOR < 59)

Definition at line 71 of file version.h.

Referenced by hls_append_segment(), hls_start(), and sls_flag_use_localtime_filename().

◆ FF_API_LAVF_KEEPSIDE_FLAG

#define FF_API_LAVF_KEEPSIDE_FLAG   (LIBAVFORMAT_VERSION_MAJOR < 59)

Definition at line 74 of file version.h.

◆ FF_API_OLD_ROTATE_API

#define FF_API_OLD_ROTATE_API   (LIBAVFORMAT_VERSION_MAJOR < 59)

Definition at line 77 of file version.h.

Referenced by mov_read_tkhd().

◆ FF_API_FORMAT_GET_SET

#define FF_API_FORMAT_GET_SET   (LIBAVFORMAT_VERSION_MAJOR < 59)

Definition at line 80 of file version.h.

◆ FF_API_OLD_AVIO_EOF_0

#define FF_API_OLD_AVIO_EOF_0   (LIBAVFORMAT_VERSION_MAJOR < 59)

Definition at line 83 of file version.h.

◆ FF_API_LAVF_FFSERVER

#define FF_API_LAVF_FFSERVER   (LIBAVFORMAT_VERSION_MAJOR < 59)

Definition at line 86 of file version.h.

◆ FF_API_FORMAT_FILENAME

#define FF_API_FORMAT_FILENAME   (LIBAVFORMAT_VERSION_MAJOR < 59)

Definition at line 89 of file version.h.

◆ FF_API_OLD_RTSP_OPTIONS

#define FF_API_OLD_RTSP_OPTIONS   (LIBAVFORMAT_VERSION_MAJOR < 59)

Definition at line 92 of file version.h.

◆ FF_API_NEXT

#define FF_API_NEXT   (LIBAVFORMAT_VERSION_MAJOR < 59)

Definition at line 95 of file version.h.

◆ FF_API_R_FRAME_RATE

#define FF_API_R_FRAME_RATE   1

Definition at line 100 of file version.h.