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"
|
|
|
|
|
2013-02-17 10:31:25 +01:00
|
|
|
#define LIBAVCODEC_VERSION_MAJOR 55
|
2013-04-19 22:24:33 +02:00
|
|
|
#define LIBAVCODEC_VERSION_MINOR 5
|
2013-01-07 18:08:56 +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
|
2013-02-23 08:18:28 +01:00
|
|
|
#define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 56)
|
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
|
2013-03-12 22:04:16 +01:00
|
|
|
#define FF_API_OLD_DECODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 56)
|
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
|
2013-03-12 22:04:16 +01:00
|
|
|
#define FF_API_OLD_ENCODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 56)
|
2011-12-18 19:20:15 +01:00
|
|
|
#endif
|
2012-02-01 09:54:38 +01:00
|
|
|
#ifndef FF_API_OLD_ENCODE_VIDEO
|
2013-03-12 15:25:21 +01:00
|
|
|
#define FF_API_OLD_ENCODE_VIDEO (LIBAVCODEC_VERSION_MAJOR < 56)
|
2012-02-01 09:54:38 +01:00
|
|
|
#endif
|
2012-08-05 10:36:55 +02:00
|
|
|
#ifndef FF_API_CODEC_ID
|
2013-03-12 15:25:21 +01:00
|
|
|
#define FF_API_CODEC_ID (LIBAVCODEC_VERSION_MAJOR < 56)
|
2012-08-05 10:36:55 +02:00
|
|
|
#endif
|
2013-03-13 10:57:00 +01:00
|
|
|
#ifndef FF_API_AVCODEC_RESAMPLE
|
|
|
|
#define FF_API_AVCODEC_RESAMPLE (LIBAVCODEC_VERSION_MAJOR < 56)
|
|
|
|
#endif
|
2013-03-03 17:23:08 +01:00
|
|
|
#ifndef FF_API_DEINTERLACE
|
2013-03-03 17:23:08 +01:00
|
|
|
#define FF_API_DEINTERLACE (LIBAVCODEC_VERSION_MAJOR < 56)
|
2013-03-03 17:23:08 +01:00
|
|
|
#endif
|
2012-10-31 08:53:18 +01:00
|
|
|
#ifndef FF_API_DESTRUCT_PACKET
|
|
|
|
#define FF_API_DESTRUCT_PACKET (LIBAVCODEC_VERSION_MAJOR < 56)
|
|
|
|
#endif
|
2012-11-21 21:34:46 +01:00
|
|
|
#ifndef FF_API_GET_BUFFER
|
|
|
|
#define FF_API_GET_BUFFER (LIBAVCODEC_VERSION_MAJOR < 56)
|
|
|
|
#endif
|
2013-01-22 02:41:54 +01:00
|
|
|
#ifndef FF_API_MISSING_SAMPLE
|
|
|
|
#define FF_API_MISSING_SAMPLE (LIBAVCODEC_VERSION_MAJOR < 56)
|
|
|
|
#endif
|
2011-03-14 21:58:13 +01:00
|
|
|
|
|
|
|
#endif /* AVCODEC_VERSION_H */
|