Remove typo/repeated code block

This commit is contained in:
Riyuzakii 2017-12-08 12:10:00 +05:30
parent d329674f68
commit 8f1345091e

View File

@ -1113,11 +1113,6 @@ double CvCapture_FFMPEG::get_duration_sec() const
sec = (double)ic->streams[video_stream]->duration * r2d(ic->streams[video_stream]->time_base);
}
if (sec < eps_zero)
{
sec = (double)ic->streams[video_stream]->duration * r2d(ic->streams[video_stream]->time_base);
}
return sec;
}