[vlc-devel] commit: Revert [fc995169434ab68627c3c9f2b6046451aa0b810c] ( Felix Paul Kühne )

git version control git at videolan.org
Wed May 28 22:42:23 CEST 2008


vlc | branch: 0.8.6-bugfix | Felix Paul Kühne <fkuehne at videolan.org> | Wed May 28 22:42:45 2008 +0200| [59210c3f8ec8b8ac4bd1868468ec00eafb0af9c6]

Revert [fc995169434ab68627c3c9f2b6046451aa0b810c]

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=59210c3f8ec8b8ac4bd1868468ec00eafb0af9c6
---

 configure.ac |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 2515602..19f66c4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2770,6 +2770,17 @@ dnl Trying with pkg-config
  fi 
 fi
 
+dnl Check if we have (required) img_resample() in libavcodec
+if test "${enable_ffmpeg}" != "no"
+then
+     VLC_SAVE_FLAGS
+     CFLAGS="${CFLAGS} ${CFLAGS_ffmpeg}"
+     LDFLAGS="${LDFLAGS} ${LDFLAGS_ffmpeg}"
+     AC_CHECK_LIB(avcodec, img_resample, ,
+       [AC_MSG_ERROR([Your FFmpeg library doesn't have the needed img_resample() function. You should rebuild it with software scaler disabled])], -lavutil)
+     VLC_RESTORE_FLAGS
+fi
+
 dnl
 dnl  ffmpegaltivec plugin
 dnl




More information about the vlc-devel mailing list