aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/pthread_frame.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2022-02-23 12:55:45 +0200
committerMartin Storsjö <martin@martin.st>2022-03-16 14:04:35 +0200
commitf2da2e1458b76a1d6c068673430b46cf2850bc51 (patch)
tree0f71402af80541921cd1ae0d44e730f6177a6db0 /libavcodec/pthread_frame.c
parentf2fe17c56d33bfc5bd04d804603036a4f935b69b (diff)
downloadffmpeg-f2da2e1458b76a1d6c068673430b46cf2850bc51.tar.gz
libavcodec: Split version.h
This avoids including version.h in all source files, avoiding unnecessary rebuilds when the version number is bumped. Only version_major.h is included by the main header, which defines availability of e.g. FF_API_* macros, and which is bumped much less often. This isn't done for libavutil/version.h, because that header needs to be included essentially everywhere due to LIBAVUTIL_VERSION_INT being used wherever an AVClass is constructed. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/pthread_frame.c')
-rw-r--r--libavcodec/pthread_frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c
index ddf2460534..6f648f6034 100644
--- a/libavcodec/pthread_frame.c
+++ b/libavcodec/pthread_frame.c
@@ -33,7 +33,7 @@
#include "pthread_internal.h"
#include "thread.h"
#include "threadframe.h"
-#include "version.h"
+#include "version_major.h"
#include "libavutil/avassert.h"
#include "libavutil/buffer.h"