Commit 5917098e authored by LRN's avatar LRN Committed by Wim Taymans

ffmpeg: change library inclusion order

Fixes #584399
parent 3511342f
...@@ -214,9 +214,9 @@ AC_ARG_WITH(system-ffmpeg, ...@@ -214,9 +214,9 @@ AC_ARG_WITH(system-ffmpeg,
[AC_HELP_STRING([--with-system-ffmpeg], [use system FFmpeg libraries])]) [AC_HELP_STRING([--with-system-ffmpeg], [use system FFmpeg libraries])])
if test "x$with_system_ffmpeg" = "xyes"; then if test "x$with_system_ffmpeg" = "xyes"; then
PKG_CHECK_MODULES(FFMPEG, libavutil libavcodec libavformat) PKG_CHECK_MODULES(FFMPEG, libavformat libavcodec libavutil)
PKG_CHECK_MODULES(POSTPROC, libavutil libavcodec libpostproc) PKG_CHECK_MODULES(POSTPROC, libpostproc libavcodec libavutil)
PKG_CHECK_MODULES(SWSCALE, libavutil libswscale) PKG_CHECK_MODULES(SWSCALE, libswscale libavutil)
saved_CPPFLAGS="$CPPFLAGS" saved_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $FFMPEG_CFLAGS" CPPFLAGS="$CPPFLAGS $FFMPEG_CFLAGS"
AC_CHECK_HEADERS([avi.h]) AC_CHECK_HEADERS([avi.h])
......
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