func minMaxFrame(frames []int) (int, int) {
	srcframes := make([]int, len(frames), len(frames))
	copy(srcframes, frames)
	sort.Ints(srcframes)
	min, max := srcframes[0], srcframes[len(srcframes)-1]
	return min, max
}
func minMaxFrame(frames []int) (int, int) {
	srcframes := make([]int, len(frames), len(frames))
	copy(srcframes, frames)
	sort.Ints(srcframes)
	min, max := srcframes[0], srcframes[len(srcframes)-1]
	return min, max
}
func minMaxFrame ( frames [ ] int ) ( int , int ) { srcframes := make ( [ ] int , len ( frames ) , len ( frames ) ) copy ( srcframes , frames ) sort . Ints ( srcframes ) min , max := srcframes [ 0 ] , srcframes [ len ( srcframes ) - 1 ] return min , max }
// Return the min/max frames from an unsorted list
Return the min / max frames from an unsorted list