Commit 964c7e91 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Disable swscale if avcodec is disabled

parent 1c6ac615
...@@ -2768,7 +2768,9 @@ dnl ...@@ -2768,7 +2768,9 @@ dnl
AC_ARG_ENABLE(swscale, AC_ARG_ENABLE(swscale,
AS_HELP_STRING([--enable-swscale],[libswscale image scaling and conversion AS_HELP_STRING([--enable-swscale],[libswscale image scaling and conversion
(default enabled)])) (default enabled)]),, [
enable_swscale="${have_avcodec}"
])
if test "${enable_swscale}" != "no" if test "${enable_swscale}" != "no"
then then
PKG_CHECK_MODULES(SWSCALE,[libswscale], 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