]> git.sesse.net Git - ffmpeg/commitdiff
configure: Simplify VDPAU header check
authorDiego Biurrun <diego@biurrun.de>
Thu, 21 Feb 2013 11:34:42 +0000 (12:34 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 24 Feb 2013 15:33:55 +0000 (16:33 +0100)
Conflicts:

configure

configure

index 460da67d4ddbf11c3d1b05c9d89c7117755633db..513e6a0e20d69d42b5231d494554c82b3900c356 100755 (executable)
--- a/configure
+++ b/configure
@@ -4031,10 +4031,9 @@ if ! disabled vaapi; then
     } || disable vaapi
 fi
 
-if ! disabled vdpau && enabled vdpau_vdpau_h; then
+enabled vdpau &&
     check_cpp_condition vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" ||
-        { echolog "Please upgrade to libvdpau >= 0.2 if you would like vdpau support." && disable vdpau; }
-fi
+    disable vdpau
 
 enabled debug && add_cflags -g"$debuglevel" && add_asflags -g"$debuglevel"
 enabled coverage && add_cflags "-fprofile-arcs -ftest-coverage" && add_ldflags "-fprofile-arcs -ftest-coverage"