Commit bf16abda authored by Christophe Mutricy's avatar Christophe Mutricy

More strict detection for swscale. Patch by ILEoo and ALexis Ballier

parent 83d89884
......@@ -3080,7 +3080,8 @@ dnl Trying with pkg-config
PKG_CHECK_MODULES(SWSCALE, libswscale,[
VLC_ADD_CFLAGS([ffmpeg],[${SWSCALE_CFLAGS}])
VLC_ADD_LDFLAGS([ffmpeg],[${SWSCALE_LIBS}])
AC_CHECK_HEADERS(ffmpeg/swscale.h)
AC_CHECK_LIB(swscale, sws_getContext,
[AC_CHECK_HEADERS(ffmpeg/swscale.h)],[])
],[ true ])
VLC_RESTORE_FLAGS
],[
......
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