Commit 619c0229 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Disable swscale if avcodec is disabled

(cherry picked from commit 964c7e91c0273447e3f830c9aec4d84d602851b9)
parent 4bbbe32f
......@@ -2805,7 +2805,9 @@ dnl
AC_ARG_ENABLE(swscale,
AS_HELP_STRING([--enable-swscale],[libswscale image scaling and conversion
(default enabled)]))
(default enabled)]),, [
enable_swscale="${have_avcodec}"
])
if test "${enable_swscale}" != "no"
then
PKG_CHECK_MODULES(SWSCALE,[libswscale],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment