Updated libdash.c to manage milliseconds segment duration
Set default duration to a frame if pkt.duration is negative