diff --git a/mov.go b/mov.go index 829cb43..6923920 100644 --- a/mov.go +++ b/mov.go @@ -23,6 +23,9 @@ func Modified(file io.ReadSeeker) (time.Time, error) { return m, err } +// times seeks around in file and finds Created and Modified times. +// +// This was transcibed from http://stackoverflow.com/a/21395803 func times(file io.ReadSeeker) (time.Time, time.Time, error) { var c, m time.Time var i int64