Packt is implicitly shared to reduce AVPacket copy
decoders use Packet as parameter