2011-12-31 15:20:10 +00:00
|
|
|
/*
|
|
|
|
* Version macros.
|
|
|
|
*
|
2012-02-01 03:38:41 +00:00
|
|
|
* This file is part of FFmpeg.
|
2011-12-31 15:20:10 +00:00
|
|
|
*
|
2012-02-01 03:38:41 +00:00
|
|
|
* FFmpeg is free software; you can redistribute it and/or
|
2011-12-31 15:20:10 +00:00
|
|
|
* 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.
|
|
|
|
*
|
2012-02-01 03:38:41 +00:00
|
|
|
* FFmpeg is distributed in the hope that it will be useful,
|
2011-12-31 15:20:10 +00:00
|
|
|
* 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
|
2012-02-01 03:38:41 +00:00
|
|
|
* License along with FFmpeg; if not, write to the Free Software
|
2011-12-31 15:20:10 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef AVFILTER_VERSION_H
|
|
|
|
#define AVFILTER_VERSION_H
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Libavfilter version macros
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "libavutil/avutil.h"
|
|
|
|
|
|
|
|
#define LIBAVFILTER_VERSION_MAJOR 2
|
2012-06-01 12:46:54 +00:00
|
|
|
#define LIBAVFILTER_VERSION_MINOR 78
|
2012-06-05 16:58:51 +00:00
|
|
|
#define LIBAVFILTER_VERSION_MICRO 101
|
2011-12-31 15:20:10 +00:00
|
|
|
|
|
|
|
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
|
|
|
|
LIBAVFILTER_VERSION_MINOR, \
|
|
|
|
LIBAVFILTER_VERSION_MICRO)
|
|
|
|
#define LIBAVFILTER_VERSION AV_VERSION(LIBAVFILTER_VERSION_MAJOR, \
|
|
|
|
LIBAVFILTER_VERSION_MINOR, \
|
|
|
|
LIBAVFILTER_VERSION_MICRO)
|
|
|
|
#define LIBAVFILTER_BUILD LIBAVFILTER_VERSION_INT
|
|
|
|
|
2012-03-18 10:27:38 +00:00
|
|
|
/**
|
|
|
|
* Those FF_API_* defines are not part of public API.
|
|
|
|
* They may change, break or disappear at any time.
|
|
|
|
*/
|
|
|
|
#ifndef FF_API_GRAPH_AVCLASS
|
|
|
|
#define FF_API_GRAPH_AVCLASS (LIBAVFILTER_VERSION_MAJOR > 2)
|
|
|
|
#endif
|
2012-05-09 06:43:07 +00:00
|
|
|
#ifndef FF_API_SAMPLERATE64
|
|
|
|
#define FF_API_SAMPLERATE64 (LIBAVFILTER_VERSION_MAJOR < 3)
|
|
|
|
#endif
|
2011-12-31 15:40:43 +00:00
|
|
|
#ifndef FF_API_VSRC_BUFFER_ADD_FRAME
|
|
|
|
#define FF_API_VSRC_BUFFER_ADD_FRAME (LIBAVFILTER_VERSION_MAJOR < 3)
|
|
|
|
#endif
|
2012-05-12 15:38:47 +00:00
|
|
|
#ifndef FF_API_PACKING
|
|
|
|
#define FF_API_PACKING (LIBAVFILTER_VERSION_MAJOR < 3)
|
|
|
|
#endif
|
2011-08-04 12:47:00 +00:00
|
|
|
#ifndef FF_API_DEFAULT_CONFIG_OUTPUT_LINK
|
|
|
|
#define FF_API_DEFAULT_CONFIG_OUTPUT_LINK (LIBAVFILTER_VERSION_MAJOR < 3)
|
|
|
|
#endif
|
2012-05-19 08:37:56 +00:00
|
|
|
#ifndef FF_API_FILTERS_PUBLIC
|
|
|
|
#define FF_API_FILTERS_PUBLIC (LIBAVFILTER_VERSION_MAJOR < 3)
|
|
|
|
#endif
|
2012-03-18 10:27:38 +00:00
|
|
|
|
2011-12-31 15:20:10 +00:00
|
|
|
#endif // AVFILTER_VERSION_H
|