store dts, position and AVPacket* in Packet
add missing avpacket functions for old ffmpeg/libav
Packt is implicitly shared to reduce AVPacket copy
decoders use Packet as parameter
init statistics when decoders are ready. regression since async load
Merge branch 'dec'