[FFmpeg-devel] [PATCH 5/6] (postproc|swresample)/version: Don't include libavutil/avutil.h

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri Jul 23 20:04:27 EEST 2021


Instead only include libavutil/version.h; including avutil.h is a
remnant from the time in which the version was in it.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libpostproc/version.h   | 2 +-
 libswresample/version.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libpostproc/version.h b/libpostproc/version.h
index 3819b68997..e518ccf810 100644
--- a/libpostproc/version.h
+++ b/libpostproc/version.h
@@ -26,7 +26,7 @@
  * Libpostproc version macros
  */
 
-#include "libavutil/avutil.h"
+#include "libavutil/version.h"
 
 #define LIBPOSTPROC_VERSION_MAJOR  56
 #define LIBPOSTPROC_VERSION_MINOR   0
diff --git a/libswresample/version.h b/libswresample/version.h
index ed7ce529d2..5f0d69228c 100644
--- a/libswresample/version.h
+++ b/libswresample/version.h
@@ -26,7 +26,7 @@
  * Libswresample version macros
  */
 
-#include "libavutil/avutil.h"
+#include "libavutil/version.h"
 
 #define LIBSWRESAMPLE_VERSION_MAJOR   4
 #define LIBSWRESAMPLE_VERSION_MINOR   0
-- 
2.30.2



More information about the ffmpeg-devel mailing list