store dts, position and AVPacket* in Packet
fix playback stopped at a wrong time and wrong repeat
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'
dynamic load libass. (use capi project)
Merge branch 'dyld_ass'
libav build error (const AVPacket* parameter)
fix wrong local path on win
Merge pull request #1 from wang-bin/master

merge from upstream