I don't know, the synthetic proceedure for manufacturing hydrocodone involves a catalytic rearrangement of the double bond of codeine so that it ends up on the carbon atom with the 6-hydroxy group, which spontaneously becomes a ketone (hydrocodone - keto-enol tautomerization). It's possible that occurred as part of the tea preaparation (I believe the catalyst is an iron compound)