1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-28 23:09:59 +02:00

Fix detection of libswscale. It depends on libavutil.

This commit is contained in:
Jean-Paul Saman 2007-10-18 22:09:02 +00:00
parent c13d263796
commit 37f1466567

View File

@ -3086,8 +3086,9 @@ dnl Trying with pkg-config
fi
VLC_ADD_CFLAGS([ffmpeg stream_out_switcher],[${FFMPEG_CFLAGS}])
VLC_ADD_LIBS([ffmpeg stream_out_switcher],[${FFMPEG_LIBS}])
dnl even newer ffmpeg has a libswscale
PKG_CHECK_MODULES(SWSCALE, libswscale,[
PKG_CHECK_MODULES(SWSCALE, libavutil, libswscale,[
VLC_ADD_CFLAGS([ffmpeg],[${SWSCALE_CFLAGS}])
VLC_ADD_LIBS([ffmpeg],[${SWSCALE_LIBS}])
AC_CHECK_LIB(swscale, sws_getContext,