# HG changeset patch # User reimar # Date 1277312224 0 # Node ID 37a2dae0ab4bb73b0533d27b37a25cecaec93f7d # Parent 133a32b2a5a544e2644302f9b2204102e7fcf66f Change libvpx configure check to match FFmpeg's and also enable the encoder. diff -r 133a32b2a5a5 -r 37a2dae0ab4b configure --- a/configure Wed Jun 23 16:44:21 2010 +0000 +++ b/configure Wed Jun 23 16:57:04 2010 +0000 @@ -7667,10 +7667,16 @@ res_comment="libavcodec (static) is required by libvpx, sorry" else cat > $TMPC << EOF +#include #include #include +#include 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