Judging by the size and location of those transistors, they're likely on the voltage gain push-pull side of the output stage. That means your main power transistors are probably OK. The problem is, how many components other than these transistors have been damaged... It is really impossible to tell from a picture. If the circuit board is also damaged below the transistors, then it becomes a question of whether it is really worth repairing. Many times stresses such as these cause secondary effects that may cause problems down the road. If it is a relatively cheap amp to replace, then maybe replacement is a better option.
As a side note - heat is the great killer of most output stages. Doped silicon's resistance decreases with increasing temperature. In poorly designed amplifiers, this effect is known as thermal runaway. As things heat up, current increases, heating the transistor even more, etc... Another cumulative aspect of heat is diffusion inside the transistors themselves. When transistors are made, they are doped with N and P type impurities and then annealed to drive these impurities into the silicon to form the PN junctions. These are done under tightly controlled conditions to create transistors that have predictable and consistent characteristics. Over a long period of time, undre the stress of heat in the circuit, the transistors junctions continue to "diffuse" due to the heating effects of the amplifier and the environment it is placed in. The transistor's parameters begin to drift, and perhaps over a long period of time, the circuit will no longer perform as it once did. Distortions could creep in, as well as catastrophic failure, depending on the component and the stresses it sees.
Sooo, to make a long story short - if you want to keep your amp for a long time, buy quality and keep it COOL!
