[MPlayer-cvslog] r31541 - trunk/configure
reimar
subversion at mplayerhq.hu
Wed Jun 23 18:57:04 CEST 2010
Author: reimar
Date: Wed Jun 23 18:57:04 2010
New Revision: 31541
Log:
Change libvpx configure check to match FFmpeg's and also enable the encoder.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Wed Jun 23 18:44:21 2010 (r31540)
+++ trunk/configure Wed Jun 23 18:57:04 2010 (r31541)
@@ -7667,10 +7667,16 @@ if test "$_libvpx_lavc" = auto; then
res_comment="libavcodec (static) is required by libvpx, sorry"
else
cat > $TMPC << EOF
+#include <vpx/vpx_encoder.h>
#include <vpx/vpx_decoder.h>
#include <vpx/vp8dx.h>
+#include <vpx/vp8cx.h>
struct vpx_codec_ctx decoder;
-int main(void) { vpx_codec_dec_init(NULL, &vpx_codec_vp8_dx_algo, NULL, 0); return 0; }
+int main(void) {
+ vpx_codec_dec_init(NULL, &vpx_codec_vp8_dx_algo, NULL, 0);
+ vpx_codec_enc_init(NULL, &vpx_codec_vp8_dx_algo, NULL, 0);
+ return 0;
+}
EOF
cc_check -lvpx && _libvpx_lavc=yes && extra_ldflags="$extra_ldflags -lvpx"
fi
More information about the MPlayer-cvslog
mailing list