[MPlayer-cvslog] r37328 - trunk/configure

reimar subversion at mplayerhq.hu
Sat Nov 22 19:21:59 CET 2014


Author: reimar
Date: Sat Nov 22 19:21:58 2014
New Revision: 37328

Log:
configure: Reject libvpx versions not supported by FFmpeg.

It needs VP8E_SET_MAX_INTRA_BITRATE_PCT, so test for it.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sat Nov 22 19:15:25 2014	(r37327)
+++ trunk/configure	Sat Nov 22 19:21:58 2014	(r37328)
@@ -7360,7 +7360,7 @@ struct vpx_codec_ctx decoder;
 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 VPX_CQ;
+  return VPX_CQ + VP8E_SET_MAX_INTRA_BITRATE_PCT;
 }
 EOF
     cc_check -lvpx && _libvpx_lavc=yes && extra_ldflags="$extra_ldflags -lvpx"


More information about the MPlayer-cvslog mailing list