--- a/QtAV.orig.pro	2019-07-11 02:58:59.000000000 +0200
+++ b/QtAV.pro	2021-01-20 14:17:01.603852011 +0100
@@ -36,7 +36,7 @@
 #OTHER_FILES += config.test/mktest.sh
 EssentialDepends = avutil avcodec avformat swscale
 winrt: CONFIG *= no-avdevice no-openal no-portaudio no-dsound no-gdiplus
-OptionalDepends = swresample avresample
+OptionalDepends = swresample
 !no-avfilter: OptionalDepends *= avfilter
 !no-avdevice: OptionalDepends *= avdevice
 # QtOpenGL module. In Qt5 we can disable it and still have opengl support
@@ -78,8 +78,8 @@
   !no-videotoolbox: OptionalDepends *= videotoolbox
 }
 runConfigTests()
-!config_avresample:!config_swresample {
-  error("libavresample or libswresample is required. Setup your environment correctly then delete $$BUILD_DIR/.qmake.conf and run qmake again")
+!config_swresample {
+  error("libswresample is required. Setup your environment correctly then delete $$BUILD_DIR/.qmake.conf and run qmake again")
 }
 PACKAGE_VERSION = $$QTAV_VERSION
 PACKAGE_NAME= QtAV
