Unified · Split
| @@ -13,6 +13,9 @@ libavutil: 2011-04-18 · 12 unmodified lines | |||
| 13 | 13 | ||
| 14 | API changes, most recent first: | 14 | API changes, most recent first: |
| 15 | 15 | ||
| 16 | 2012-01-xx - xxxxxxx - lavfi 2.15.0 | ||
| 17 | Add a new installed header -- libavfilter/version.h -- with version macros. | ||
| 18 | |||
| 16 | 2011-01-03 - b73ec05 - lavu 51.21.0 | 19 | 2011-01-03 - b73ec05 - lavu 51.21.0 |
| 17 | Add av_popcount64 | 20 | Add av_popcount64 |
| 18 | 21 | ||
| @@ -3,7 +3,7 @@ FFLIBS = avutil · 2 unmodified lines | |||
| 3 | FFLIBS-$(CONFIG_MOVIE_FILTER) += avformat avcodec | 3 | FFLIBS-$(CONFIG_MOVIE_FILTER) += avformat avcodec |
| 4 | FFLIBS-$(CONFIG_SCALE_FILTER) += swscale | 4 | FFLIBS-$(CONFIG_SCALE_FILTER) += swscale |
| 5 | 5 | ||
| 6 | HEADERS = avfilter.h avfiltergraph.h buffersrc.h vsrc_buffer.h | 6 | HEADERS = avfilter.h avfiltergraph.h buffersrc.h version.h vsrc_buffer.h |
| 7 | 7 | ||
| 8 | OBJS = allfilters.o \ | 8 | OBJS = allfilters.o \ |
| 9 | avfilter.o \ | 9 | avfilter.o \ |
| @@ -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 | */ |
| @@ -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 | ||