1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Merge pull request #10262 from Riyuzakii:10209

This commit is contained in:
Alexander Alekhin
2017-12-08 08:49:10 +00:00
-5
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;
}