2011-03-14 21:58:13 +01:00
|
|
|
/*
|
|
|
|
*
|
2011-04-17 23:57:50 +02:00
|
|
|
* This file is part of FFmpeg.
|
2011-03-14 21:58:13 +01:00
|
|
|
*
|
2011-04-17 23:57:50 +02:00
|
|
|
* FFmpeg is free software; you can redistribute it and/or
|
2011-03-14 21:58:13 +01: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.
|
|
|
|
*
|
2011-04-17 23:57:50 +02:00
|
|
|
* FFmpeg is distributed in the hope that it will be useful,
|
2011-03-14 21:58:13 +01: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
|
2011-04-17 23:57:50 +02:00
|
|
|
* License along with FFmpeg; if not, write to the Free Software
|
2011-03-14 21:58:13 +01:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef AVCODEC_VERSION_H
|
|
|
|
#define AVCODEC_VERSION_H
|
|
|
|
|
2012-04-08 14:08:05 +02:00
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* @ingroup libavc
|
|
|
|
* Libavcodec version macros.
|
|
|
|
*/
|
|
|
|
|
2012-09-27 09:35:29 +02:00
|
|
|
#include "libavutil/avutil.h"
|
|
|
|
|
2012-01-12 11:17:23 +01:00
|
|
|
#define LIBAVCODEC_VERSION_MAJOR 54
|
2012-12-20 02:44:22 +01:00
|
|
|
#define LIBAVCODEC_VERSION_MINOR 81
|
2012-12-14 11:58:21 +01:00
|
|
|
#define LIBAVCODEC_VERSION_MICRO 100
|
2011-03-14 21:58:13 +01:00
|
|
|
|
|
|
|
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
|
|
|
|
LIBAVCODEC_VERSION_MINOR, \
|
|
|
|
LIBAVCODEC_VERSION_MICRO)
|
|
|
|
#define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \
|
|
|
|
LIBAVCODEC_VERSION_MINOR, \
|
|
|
|
LIBAVCODEC_VERSION_MICRO)
|
|
|
|
#define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT
|
|
|
|
|
|
|
|
#define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
|
|
|
|
|
|
|
|
/**
|
2012-07-03 22:42:42 +02: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.
|
2011-03-14 21:58:13 +01:00
|
|
|
*/
|
2012-07-03 22:42:42 +02:00
|
|
|
|
2011-04-06 07:38:11 +02:00
|
|
|
#ifndef FF_API_REQUEST_CHANNELS
|
2012-01-12 11:16:38 +01:00
|
|
|
#define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 55)
|
2011-04-06 07:38:11 +02:00
|
|
|
#endif
|
2011-06-18 13:40:48 +02:00
|
|
|
#ifndef FF_API_ALLOC_CONTEXT
|
2012-01-28 04:23:26 +01:00
|
|
|
#define FF_API_ALLOC_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 55)
|
2011-06-18 13:40:48 +02:00
|
|
|
#endif
|
2011-05-22 14:10:49 +02:00
|
|
|
#ifndef FF_API_AVCODEC_OPEN
|
2012-01-28 04:23:26 +01:00
|
|
|
#define FF_API_AVCODEC_OPEN (LIBAVCODEC_VERSION_MAJOR < 55)
|
2011-11-14 22:07:03 +01:00
|
|
|
#endif
|
2011-09-06 18:17:45 +02:00
|
|
|
#ifndef FF_API_OLD_DECODE_AUDIO
|
2012-01-22 10:43:40 +01:00
|
|
|
#define FF_API_OLD_DECODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 55)
|
2011-09-06 18:17:45 +02:00
|
|
|
#endif
|
2011-12-07 10:44:50 +01:00
|
|
|
#ifndef FF_API_OLD_TIMECODE
|
2012-01-28 04:23:26 +01:00
|
|
|
#define FF_API_OLD_TIMECODE (LIBAVCODEC_VERSION_MAJOR < 55)
|
2011-12-07 10:44:50 +01:00
|
|
|
#endif
|
|
|
|
|
2011-12-18 19:20:15 +01:00
|
|
|
#ifndef FF_API_OLD_ENCODE_AUDIO
|
2012-01-22 10:43:40 +01:00
|
|
|
#define FF_API_OLD_ENCODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 55)
|
2011-12-18 19:20:15 +01:00
|
|
|
#endif
|
2012-02-01 09:54:38 +01:00
|
|
|
#ifndef FF_API_OLD_ENCODE_VIDEO
|
|
|
|
#define FF_API_OLD_ENCODE_VIDEO (LIBAVCODEC_VERSION_MAJOR < 55)
|
|
|
|
#endif
|
2012-02-27 12:12:19 +01:00
|
|
|
#ifndef FF_API_MPV_GLOBAL_OPTS
|
|
|
|
#define FF_API_MPV_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 55)
|
|
|
|
#endif
|
2012-02-27 19:53:21 +01:00
|
|
|
#ifndef FF_API_COLOR_TABLE_ID
|
|
|
|
#define FF_API_COLOR_TABLE_ID (LIBAVCODEC_VERSION_MAJOR < 55)
|
|
|
|
#endif
|
2012-02-27 19:58:41 +01:00
|
|
|
#ifndef FF_API_INTER_THRESHOLD
|
|
|
|
#define FF_API_INTER_THRESHOLD (LIBAVCODEC_VERSION_MAJOR < 55)
|
|
|
|
#endif
|
2012-02-27 18:52:13 +01:00
|
|
|
#ifndef FF_API_SUB_ID
|
|
|
|
#define FF_API_SUB_ID (LIBAVCODEC_VERSION_MAJOR < 55)
|
|
|
|
#endif
|
2012-04-20 15:31:08 +02:00
|
|
|
#ifndef FF_API_DSP_MASK
|
|
|
|
#define FF_API_DSP_MASK (LIBAVCODEC_VERSION_MAJOR < 55)
|
|
|
|
#endif
|
2012-07-02 11:31:26 +02:00
|
|
|
#ifndef FF_API_FIND_BEST_PIX_FMT
|
|
|
|
#define FF_API_FIND_BEST_PIX_FMT (LIBAVCODEC_VERSION_MAJOR < 55)
|
|
|
|
#endif
|
2012-08-05 10:36:55 +02:00
|
|
|
#ifndef FF_API_CODEC_ID
|
|
|
|
#define FF_API_CODEC_ID (LIBAVCODEC_VERSION_MAJOR < 55)
|
|
|
|
#endif
|
2012-08-14 11:45:29 +02:00
|
|
|
#ifndef FF_API_VDA_ASYNC
|
|
|
|
#define FF_API_VDA_ASYNC (LIBAVCODEC_VERSION_MAJOR < 55)
|
|
|
|
#endif
|
2012-10-05 07:25:56 +02:00
|
|
|
#ifndef FF_API_AVCODEC_RESAMPLE
|
|
|
|
#define FF_API_AVCODEC_RESAMPLE (LIBAVCODEC_VERSION_MAJOR < 55)
|
|
|
|
#endif
|
2012-10-11 16:35:48 +02:00
|
|
|
#ifndef FF_API_LIBMPEG2
|
|
|
|
#define FF_API_LIBMPEG2 (LIBAVCODEC_VERSION_MAJOR < 55)
|
|
|
|
#endif
|
2012-10-11 16:48:27 +02:00
|
|
|
#ifndef FF_API_MMI
|
|
|
|
#define FF_API_MMI (LIBAVCODEC_VERSION_MAJOR < 55)
|
|
|
|
#endif
|
2011-03-14 21:58:13 +01:00
|
|
|
|
|
|
|
#endif /* AVCODEC_VERSION_H */
|