This avoids having to rebuild big files every time FFMPEG_VERSION changes (which it does with every commit).
Showing the changes to libavfilter/avfilter.c (1 of 26 files). Show all
Unified · Split
| @@ -29,10 +29,8 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "libavutil/hwcontext.h" |
| 30 | 30 | #include "libavutil/internal.h" |
| 31 | 31 | #include "libavutil/opt.h" |
| 32 | −#include "libavutil/pixdesc.h" | |
| 33 | 32 | #include "libavutil/rational.h" |
| 34 | 33 | #include "libavutil/samplefmt.h" |
| 35 | −#include "libavutil/thread.h" | |
| 36 | 34 | |
| 37 | 35 | #define FF_INTERNAL_FIELDS 1 |
| 38 | 36 | #include "framequeue.h" |
| @@ -43,10 +41,6 @@ · 4 unmodified lines | ||
| 43 | 41 | #include "formats.h" |
| 44 | 42 | #include "framepool.h" |
| 45 | 43 | #include "internal.h" |
| 46 | −#include "version.h" | |
| 47 | − | |
| 48 | −#include "libavutil/ffversion.h" | |
| 49 | −const char av_filter_ffversion[] = "FFmpeg version " FFMPEG_VERSION; | |
| 50 | 44 | |
| 51 | 45 | static void tlog_ref(void *ctx, AVFrame *ref, int end) |
| 52 | 46 | { |
| @@ -75,23 +69,6 @@ static void tlog_ref(void *ctx, AVFrame *ref, int end) · 22 unmodified lines | ||
| 75 | 69 | ff_tlog(ctx, "]%s", end ? "\n" : ""); |
| 76 | 70 | } |
| 77 | 71 | |
| 78 | −unsigned avfilter_version(void) | |
| 79 | −{ | |
| 80 | − av_assert0(LIBAVFILTER_VERSION_MICRO >= 100); | |
| 81 | − return LIBAVFILTER_VERSION_INT; | |
| 82 | −} | |
| 83 | − | |
| 84 | −const char *avfilter_configuration(void) | |
| 85 | −{ | |
| 86 | − return FFMPEG_CONFIGURATION; | |
| 87 | −} | |
| 88 | − | |
| 89 | −const char *avfilter_license(void) | |
| 90 | −{ | |
| 91 | −#define LICENSE_PREFIX "libavfilter license: " | |
| 92 | − return &LICENSE_PREFIX FFMPEG_LICENSE[sizeof(LICENSE_PREFIX) - 1]; | |
| 93 | −} | |
| 94 | − | |
| 95 | 72 | void ff_command_queue_pop(AVFilterContext *filter) |
| 96 | 73 | { |
| 97 | 74 | AVFilterCommand *c= filter->command_queue; |