mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
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>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user