Skip to content
Snippets Groups Projects
Commit bf16abda authored by Christophe Mutricy's avatar Christophe Mutricy
Browse files

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

parent 83d89884
No related merge requests found
......@@ -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
],[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment