The number of compounds which on heating gives oxygen as a product
HgO, MnO2, Pb3O4,KMnO4, K2Cr2O7,H2O2,NH4ClO4,LiNO3
All compounds liberate oxygen. One of the reaction is given as
H2O2→H2+O2