1 diff --git a/cmake/Modules/FindFFmpeg.cmake b/cmake/Modules/FindFFmpeg.cmake
2 index 04437562ee..dc8fe4aa5c 100644
3 --- a/cmake/Modules/FindFFmpeg.cmake
4 +++ b/cmake/Modules/FindFFmpeg.cmake
5 @@ -14,34 +14,40 @@ else (FFMPEG_LIBRARIES AND FFMPEG_INCLUDE_DIR)
7 find_path(FFMPEG_AVCODEC_INCLUDE_DIR
8 NAMES libavcodec/avcodec.h
9 - PATHS ${_FFMPEG_AVCODEC_INCLUDE_DIRS} /usr/include /usr/local/include /opt/local/include /sw/include
10 + PATHS /usr/include/ffmpeg4.4 /usr/local/include /opt/local/include /sw/include
11 PATH_SUFFIXES ffmpeg libav
15 find_library(FFMPEG_LIBAVCODEC
17 - PATHS ${_FFMPEG_AVCODEC_LIBRARY_DIRS} /usr/lib /usr/local/lib /opt/local/lib /sw/lib
18 + PATHS /usr/lib/ffmpeg4.4 /usr/local/lib /opt/local/lib /sw/lib
22 find_library(FFMPEG_LIBAVFORMAT
24 - PATHS ${_FFMPEG_AVFORMAT_LIBRARY_DIRS} /usr/lib /usr/local/lib /opt/local/lib /sw/lib
25 + PATHS /usr/lib/ffmpeg4.4 /usr/local/lib /opt/local/lib /sw/lib
29 find_library(FFMPEG_LIBAVUTIL
31 - PATHS ${_FFMPEG_AVUTIL_LIBRARY_DIRS} /usr/lib /usr/local/lib /opt/local/lib /sw/lib
32 + PATHS /usr/lib/ffmpeg4.4 /usr/local/lib /opt/local/lib /sw/lib
37 find_library(FFMPEG_LIBSWSCALE
39 - PATHS ${_FFMPEG_SWSCALE_LIBRARY_DIRS} /usr/lib /usr/local/lib /opt/local/lib /sw/lib
40 + PATHS /usr/lib/ffmpeg4.4 /usr/local/lib /opt/local/lib /sw/lib
44 find_library(FFMPEG_LIBSWRESAMPLE
46 - PATHS ${_FFMPEG_SWSCALE_LIBRARY_DIRS} /usr/lib /usr/local/lib /opt/local/lib /sw/lib
47 + PATHS /usr/lib/ffmpeg4.4 /usr/local/lib /opt/local/lib /sw/lib
51 if (FFMPEG_LIBAVCODEC AND FFMPEG_LIBAVFORMAT)