mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 22:44:02 +08:00
Remove typo/repeated code block
This commit is contained in:
parent
d329674f68
commit
8f1345091e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user