From 0e26fd8964a19c2c898da5b9cc29b21d01af0ca1 Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Sat, 17 Apr 2021 01:22:34 +0100 Subject: [PATCH] Add libswresample to FindFFmpeg --- cmake/FindFFmpeg.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/FindFFmpeg.cmake b/cmake/FindFFmpeg.cmake index c9846b4..454fd42 100644 --- a/cmake/FindFFmpeg.cmake +++ b/cmake/FindFFmpeg.cmake @@ -86,6 +86,7 @@ IF(NOT FFMPEG_LIBRARIES) FIND_COMPONENT(AVDEVICE libavdevice avdevice libavdevice/avdevice.h) FIND_COMPONENT(AVUTIL libavutil avutil libavutil/avutil.h) FIND_COMPONENT(SWSCALE libswscale swscale libswscale/swscale.h) + FIND_COMPONENT(SWRESAMPLE libswresample swresample libswresample/swresample.h) FIND_COMPONENT(POSTPROC libpostproc postproc libpostproc/postprocess.h) # Check if the required components were found and add their stuff to the FFMPEG_* vars.