We present what constraints on opacities can be derived from the analysis of stellar pulsations of BA-type main-sequence stars. This analysis consists of the construction of complex seismic models which reproduce the observed frequencies as well as the bolometric flux amplitude extracted from the multi-colour photometric variations. Stellar seismology, i.e., {it asteroseismology}, is a relatively young branch of astrophysics and, currently, provides the most accurate test of the theory of internal structure and evolution. We show that opacities under stellar conditions need to be modified at the depth of temperatures $T=110~000-290~000$,K. The revision of opacity data is of great importance because they are crucial for all branches of astrophysics.