diff mbox series

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

Message ID pull.27.v3.ffstaging.FFmpeg.1652642602645.ffmpegagent@gmail.com
State New
Headers show
Series [FFmpeg-devel,v3] fftools/opt_common: add includes of avf headers for clarity | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

softworkz May 15, 2022, 7:23 p.m. UTC
From: softworkz <softworkz@hotmail.com>

Signed-off-by: softworkz <softworkz@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@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@hotmail.com>
      


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


base-commit: b90341d1d5585b7181873ac4d85a7c373eb3b2ae
diff mbox series

Patch

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"