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