[FFmpeg-devel] [PATCH v3] fftools/opt_common: add includes of avf headers for clarity

softworkz ffmpegagent at gmail.com
Sun May 15 22:23:22 EEST 2022


From: softworkz <softworkz at hotmail.com>

Signed-off-by: softworkz <softworkz at hotmail.com>
---
    fftools/opt_common: add missing include of avf/version.h
    
    MSVC compiler complains without this include
    
    v2: also include avfilter.h as suggested
    v3: adjust commit message as suggested by Andreas

Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-27%2Fsoftworkz%2Fsubmit_version_include-v3
Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-27/softworkz/submit_version_include-v3
Pull-Request: https://github.com/ffstaging/FFmpeg/pull/27

Range-diff vs v2:

 1:  f011be1049 ! 1:  50b3db3466 fftools/opt_common: add missing include of avf/version.h
     @@ Metadata
      Author: softworkz <softworkz at hotmail.com>
      
       ## Commit message ##
     -    fftools/opt_common: add missing include of avf/version.h
     -
     -    required for PRINT_LIB_INFO(avfilter...
     +    fftools/opt_common: add includes of avf headers for clarity
      
          Signed-off-by: softworkz <softworkz at hotmail.com>
      


 fftools/opt_common.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/fftools/opt_common.c b/fftools/opt_common.c
index c303db4d09..55d86eeb19 100644
--- a/fftools/opt_common.c
+++ b/fftools/opt_common.c
@@ -51,6 +51,9 @@
 #include "libavdevice/avdevice.h"
 #include "libavdevice/version.h"
 
+#include "libavfilter/avfilter.h"
+#include "libavfilter/version.h"
+
 #include "libswscale/swscale.h"
 #include "libswscale/version.h"
 

base-commit: b90341d1d5585b7181873ac4d85a7c373eb3b2ae
-- 
ffmpeg-codebot


More information about the ffmpeg-devel mailing list