avcdec, x264: make sure dates are monotonic