History

lavfi: move version macros to a new installed header version.h

Anton Khirnov committed 14 years ago

Commit 3167dc91 parent 43fe6a24 files · +49 −13Browse files

Unified · Split

4 files
  1. doc/APIchanges +3 −0
  2. libavfilter/Makefile +1 −1
  3. libavfilter/avfilter.h +2 −12
  4. libavfilter/version.h +43 −0
doc/APIchanges+3−0
@@ -13,6 +13,9 @@ libavutil: 2011-04-18 · 12 unmodified lines
13 13
14API changes, most recent first:14API changes, most recent first:
15 15
162012-01-xx - xxxxxxx - lavfi 2.15.0
17 Add a new installed header -- libavfilter/version.h -- with version macros.
18
162011-01-03 - b73ec05 - lavu 51.21.0192011-01-03 - b73ec05 - lavu 51.21.0
17 Add av_popcount6420 Add av_popcount64
18 21
libavfilter/Makefile+1−1
@@ -3,7 +3,7 @@ FFLIBS = avutil · 2 unmodified lines
3FFLIBS-$(CONFIG_MOVIE_FILTER) += avformat avcodec3FFLIBS-$(CONFIG_MOVIE_FILTER) += avformat avcodec
4FFLIBS-$(CONFIG_SCALE_FILTER) += swscale4FFLIBS-$(CONFIG_SCALE_FILTER) += swscale
5 5
6HEADERS = avfilter.h avfiltergraph.h buffersrc.h vsrc_buffer.h6HEADERS = avfilter.h avfiltergraph.h buffersrc.h version.h vsrc_buffer.h
7 7
8OBJS = allfilters.o \8OBJS = allfilters.o \
9 avfilter.o \9 avfilter.o \
libavfilter/avfilter.h+2−12
@@ -29,20 +29,10 @@ · 28 unmodified lines
29#include "libavutil/rational.h"29#include "libavutil/rational.h"
30#include "libavcodec/avcodec.h"30#include "libavcodec/avcodec.h"
31 31
32#define LIBAVFILTER_VERSION_MAJOR 2
33#define LIBAVFILTER_VERSION_MINOR 14
34#define LIBAVFILTER_VERSION_MICRO 0
35
36#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
37 LIBAVFILTER_VERSION_MINOR, \
38 LIBAVFILTER_VERSION_MICRO)
39#define LIBAVFILTER_VERSION AV_VERSION(LIBAVFILTER_VERSION_MAJOR, \
40 LIBAVFILTER_VERSION_MINOR, \
41 LIBAVFILTER_VERSION_MICRO)
42#define LIBAVFILTER_BUILD LIBAVFILTER_VERSION_INT
43
44#include <stddef.h>32#include <stddef.h>
45 33
34#include "libavfilter/version.h"
35
46/**36/**
47 * Return the LIBAVFILTER_VERSION_INT constant.37 * Return the LIBAVFILTER_VERSION_INT constant.
48 */38 */
libavfilter/version.h+43−0
@@ -0,0 +1,43 @@
1/*
2 * Version macros.
3 *
4 * This file is part of Libav.
5 *
6 * Libav is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * Libav is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with Libav; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21#ifndef AVFILTER_VERSION_H
22#define AVFILTER_VERSION_H
23
24/**
25 * @file
26 * Libavfilter version macros
27 */
28
29#include "libavutil/avutil.h"
30
31#define LIBAVFILTER_VERSION_MAJOR 2
32#define LIBAVFILTER_VERSION_MINOR 15
33#define LIBAVFILTER_VERSION_MICRO 0
34
35#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
36 LIBAVFILTER_VERSION_MINOR, \
37 LIBAVFILTER_VERSION_MICRO)
38#define LIBAVFILTER_VERSION AV_VERSION(LIBAVFILTER_VERSION_MAJOR, \
39 LIBAVFILTER_VERSION_MINOR, \
40 LIBAVFILTER_VERSION_MICRO)
41#define LIBAVFILTER_BUILD LIBAVFILTER_VERSION_INT
42
43#endif // AVFILTER_VERSION_H

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t