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
|
|
|
|
*/
|
|
|
|
|
2011-01-21 21:18:06 +02:00
|
|
|
#include "libavutil/avutil.h"
|
|
|
|
|
2012-01-12 13:21:02 +03:00
|
|
|
#define LIBAVFORMAT_VERSION_MAJOR 54
|
2012-01-13 17:38:13 +03:00
|
|
|
#define LIBAVFORMAT_VERSION_MINOR 12
|
|
|
|
#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)
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Those FF_API_* defines are not part of public API.
|
|
|
|
* They may change, break or disappear at any time.
|
|
|
|
*/
|
2011-01-21 21:18:07 +02:00
|
|
|
#ifndef FF_API_OLD_AVIO
|
2012-01-28 06:23:26 +03:00
|
|
|
#define FF_API_OLD_AVIO (LIBAVFORMAT_VERSION_MAJOR < 55)
|
2011-02-16 10:52:38 +02:00
|
|
|
#endif
|
2011-04-05 13:59:27 +03:00
|
|
|
#ifndef FF_API_PKT_DUMP
|
|
|
|
#define FF_API_PKT_DUMP (LIBAVFORMAT_VERSION_MAJOR < 54)
|
|
|
|
#endif
|
2011-05-19 23:09:34 +03:00
|
|
|
#ifndef FF_API_ALLOC_OUTPUT_CONTEXT
|
2012-01-28 06:23:26 +03:00
|
|
|
#define FF_API_ALLOC_OUTPUT_CONTEXT (LIBAVFORMAT_VERSION_MAJOR < 55)
|
2011-05-19 23:09:34 +03:00
|
|
|
#endif
|
2011-04-30 14:42:55 +03:00
|
|
|
#ifndef FF_API_FORMAT_PARAMETERS
|
2012-01-28 06:23:26 +03:00
|
|
|
#define FF_API_FORMAT_PARAMETERS (LIBAVFORMAT_VERSION_MAJOR < 55)
|
2011-06-24 01:49:09 +03:00
|
|
|
#endif
|
2011-06-18 12:19:27 +03:00
|
|
|
#ifndef FF_API_NEW_STREAM
|
2012-01-28 06:23:26 +03:00
|
|
|
#define FF_API_NEW_STREAM (LIBAVFORMAT_VERSION_MAJOR < 55)
|
2011-11-07 13:17:50 +03:00
|
|
|
#endif
|
2011-11-29 21:28:15 +03:00
|
|
|
#ifndef FF_API_SET_PTS_INFO
|
2012-01-28 06:23:26 +03:00
|
|
|
#define FF_API_SET_PTS_INFO (LIBAVFORMAT_VERSION_MAJOR < 55)
|
2011-11-29 21:28:15 +03:00
|
|
|
#endif
|
2011-12-11 12:34:08 +03:00
|
|
|
#ifndef FF_API_CLOSE_INPUT_FILE
|
2012-01-22 12:43:40 +03:00
|
|
|
#define FF_API_CLOSE_INPUT_FILE (LIBAVFORMAT_VERSION_MAJOR < 55)
|
2011-12-11 12:34:08 +03:00
|
|
|
#endif
|
2012-02-14 13:00:49 +03:00
|
|
|
#ifndef FF_API_APPLEHTTP_PROTO
|
|
|
|
#define FF_API_APPLEHTTP_PROTO (LIBAVFORMAT_VERSION_MAJOR < 55)
|
|
|
|
#endif
|
2012-03-04 23:41:59 +03:00
|
|
|
#ifndef FF_API_READ_PACKET
|
|
|
|
#define FF_API_READ_PACKET (LIBAVFORMAT_VERSION_MAJOR < 55)
|
|
|
|
#endif
|
2012-03-15 15:37:43 +03:00
|
|
|
#ifndef FF_API_INTERLEAVE_PACKET
|
|
|
|
#define FF_API_INTERLEAVE_PACKET (LIBAVFORMAT_VERSION_MAJOR < 55)
|
|
|
|
#endif
|
2012-06-20 03:24:39 +03:00
|
|
|
#ifndef FF_API_AV_GETTIME
|
|
|
|
#define FF_API_AV_GETTIME (LIBAVFORMAT_VERSION_MAJOR < 55)
|
|
|
|
#endif
|
2011-01-21 21:18:06 +02:00
|
|
|
|
2011-05-17 17:58:04 +03:00
|
|
|
#endif /* AVFORMAT_VERSION_H */
|