5157
5157
warn "using libx264 without pkg-config"; } } &&
5158
5158
{ check_cpp_condition x264.h "X264_BUILD >= 118" ||
5159
5159
die "ERROR: libx264 must be installed and version must be >= 0.118."; }
5161
5161
{ check_cpp_condition x265.h "X265_BUILD >= 57" ||
5162
5162
die "ERROR: libx265 version must be >= 57."; }
5163
5163
enabled libxavs && require libxavs xavs.h xavs_encoder_encode -lxavs