diff options
author | Martin Storsjö <martin@martin.st> | 2022-02-23 14:36:10 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2022-03-16 14:05:26 +0200 |
commit | 288313a8b2c04ea457822c5fdd9df0bb4a06500b (patch) | |
tree | 3b9a0a2e7ab67756710ae239eabf58238ad29c0f /libavfilter/version_major.h | |
parent | 6cd2ac388d391dd36380b89a6544e6d85d85ff84 (diff) | |
download | ffmpeg-288313a8b2c04ea457822c5fdd9df0bb4a06500b.tar.gz |
libavfilter: Split version.h
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavfilter/version_major.h')
-rw-r--r-- | libavfilter/version_major.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/libavfilter/version_major.h b/libavfilter/version_major.h new file mode 100644 index 0000000000..de0cf6e979 --- /dev/null +++ b/libavfilter/version_major.h @@ -0,0 +1,42 @@ +/* + * 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 AVFILTER_VERSION_MAJOR_H +#define AVFILTER_VERSION_MAJOR_H + +/** + * @file + * @ingroup lavfi + * Libavfilter version macros + */ + +#define LIBAVFILTER_VERSION_MAJOR 8 + +/** + * 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. + */ + +#define FF_API_SWS_PARAM_OPTION (LIBAVFILTER_VERSION_MAJOR < 9) +#define FF_API_BUFFERSINK_ALLOC (LIBAVFILTER_VERSION_MAJOR < 9) +#define FF_API_PAD_COUNT (LIBAVFILTER_VERSION_MAJOR < 9) + +#endif /* AVFILTER_VERSION_MAJOR_H */ |