[Cin]Patches for mediacodec (termux) encode/decode