[FFmpeg-devel] [PATCH 2/2] configure: dnn needs avformat

Guo, Yejun yejun.guo at intel.com
Thu May 6 05:53:55 EEST 2021



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Matthias C. M. Troffaes
> Sent: 2021年5月4日 20:27
> To: ffmpeg-devel at ffmpeg.org
> Cc: Matthias C. M. Troffaes <matthias.troffaes at gmail.com>
> Subject: [FFmpeg-devel] [PATCH 2/2] configure: dnn needs avformat
> 
> The source file "libavfilter/dnn/dnn_backend_native.h" includes
> "libavformat/avio.h", so avformat needs to be declared as a dependency.
> ---
>  configure | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure b/configure
> index 9e45c0822c..8725a94f8a 100755
> --- a/configure
> +++ b/configure
> @@ -2660,7 +2660,7 @@ cbs_vp9_select="cbs"
>  dct_select="rdft"
>  dirac_parse_select="golomb"
>  dnn_suggest="libtensorflow libopenvino"
> -dnn_deps="swscale"
> +dnn_deps="avformat swscale"
>  error_resilience_select="me_cmp"
>  faandct_deps="faan"
>  faandct_select="fdctdsp"
> --
> 2.25.1
> 

thanks for the catch, the native backend uses AVIOContext to load model
from file. Will push this patch soon.


More information about the ffmpeg-devel mailing list