nfo(video);
0070 width = info.width;
0071 height = info.height;
0072 
0073 <span class="comment">%just prevents error if user wants to track to end, but enters the</span>
0074 <span class="comment">% incorrect EndFrame (recall frame index starts at 0).</span>
0075 <span class="keyword">if</span> (info.numFrames == EndFrame)
0076     EndFrame = EndFrame-1;
0077 <span class="keyword">elseif</span> (info.numFrames &lt; EndFrame)
0078     EndFrame = info.numFrames-1;
0079 <span class="keyword">end</span>
0080 
