2011-01-21 21:18:06 +02:00
|
|
|
/*
|
|
|
|
* Version macros.
|
|
|
|
*
|
|
|
|
* This file is part of FFmpeg.
|
|
|
|
*
|
|
|
|
* FFmpeg is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* FFmpeg is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with FFmpeg; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef AVFORMAT_VERSION_H
|
|
|
|
#define AVFORMAT_VERSION_H
|
|
|
|
|
2011-12-10 22:16:57 +03:00
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* @ingroup libavf
|
|
|
|
* Libavformat version macros
|
|
|
|
*/
|
|
|
|
|
2013-12-25 19:16:05 +03:00
|
|
|
#include "libavutil/version.h"
|
2011-01-21 21:18:06 +02:00
|
|
|
|
2015-09-05 21:35:46 +02:00
|
|
|
#define LIBAVFORMAT_VERSION_MAJOR 57
|
2015-10-30 18:45:33 +02:00
|
|
|
#define LIBAVFORMAT_VERSION_MINOR 14
|
2015-10-23 12:03:28 +02:00
|
|
|
#define LIBAVFORMAT_VERSION_MICRO 100
|
2011-01-21 21:18:06 +02:00
|
|
|
|
|
|
|
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
|
|
|
|
LIBAVFORMAT_VERSION_MINOR, \
|
|
|
|
LIBAVFORMAT_VERSION_MICRO)
|
|
|
|
#define LIBAVFORMAT_VERSION AV_VERSION(LIBAVFORMAT_VERSION_MAJOR, \
|
|
|
|
LIBAVFORMAT_VERSION_MINOR, \
|
|
|
|
LIBAVFORMAT_VERSION_MICRO)
|
|
|
|
#define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT
|
|
|
|
|
|
|
|
#define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION)
|
|
|
|
|
|
|
|
/**
|
2012-07-03 23:42:42 +03:00
|
|
|
* 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.
|
2015-08-18 12:28:17 +02:00
|
|
|
*
|
2015-08-22 07:40:39 +02:00
|
|
|
* @note, when bumping the major version it is recommended to manually
|
2015-08-18 12:28:17 +02:00
|
|
|
* disable each FF_API_* in its own commit instead of disabling them all
|
2015-08-22 07:40:39 +02:00
|
|
|
* at once through the bump. This improves the git bisect-ability of the change.
|
2015-08-18 12:28:17 +02:00
|
|
|
*
|
2011-01-21 21:18:06 +02:00
|
|
|
*/
|
2014-05-01 11:43:10 +03:00
|
|
|
#ifndef FF_API_LAVF_BITEXACT
|
2015-07-28 15:30:35 +02:00
|
|
|
#define FF_API_LAVF_BITEXACT (LIBAVFORMAT_VERSION_MAJOR < 58)
|
2014-05-01 11:43:10 +03:00
|
|
|
#endif
|
2014-05-18 13:36:00 +03:00
|
|
|
#ifndef FF_API_LAVF_FRAC
|
2015-07-28 15:30:35 +02:00
|
|
|
#define FF_API_LAVF_FRAC (LIBAVFORMAT_VERSION_MAJOR < 58)
|
2014-05-18 13:36:00 +03:00
|
|
|
#endif
|
2014-05-18 13:12:59 +03:00
|
|
|
#ifndef FF_API_LAVF_CODEC_TB
|
2015-07-28 15:30:35 +02:00
|
|
|
#define FF_API_LAVF_CODEC_TB (LIBAVFORMAT_VERSION_MAJOR < 58)
|
2014-08-07 23:12:40 +03:00
|
|
|
#endif
|
|
|
|
#ifndef FF_API_URL_FEOF
|
2015-09-05 21:21:20 +02:00
|
|
|
#define FF_API_URL_FEOF (LIBAVFORMAT_VERSION_MAJOR < 58)
|
2014-05-18 13:12:59 +03:00
|
|
|
#endif
|
2015-10-12 16:06:07 +02:00
|
|
|
#ifndef FF_API_LAVF_FMT_RAWPICTURE
|
|
|
|
#define FF_API_LAVF_FMT_RAWPICTURE (LIBAVFORMAT_VERSION_MAJOR < 58)
|
|
|
|
#endif
|
2015-10-07 15:51:11 +02:00
|
|
|
#ifndef FF_API_COMPUTE_PKT_FIELDS2
|
|
|
|
#define FF_API_COMPUTE_PKT_FIELDS2 (LIBAVFORMAT_VERSION_MAJOR < 58)
|
|
|
|
#endif
|
2012-07-03 23:42:42 +03:00
|
|
|
|
2012-06-26 14:10:01 +03:00
|
|
|
#ifndef FF_API_R_FRAME_RATE
|
2013-03-12 17:29:20 +03:00
|
|
|
#define FF_API_R_FRAME_RATE 1
|
2012-06-26 14:10:01 +03:00
|
|
|
#endif
|
2011-05-17 17:58:04 +03:00
|
|
|
#endif /* AVFORMAT_VERSION_H */
|