Skip to content

Commit f8b14a1

Browse files
committed
Merge pull request opencv#10262 from Riyuzakii:10209
2 parents d329674 + 8f13450 commit f8b14a1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

modules/videoio/src/cap_ffmpeg_impl.hpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,11 +1113,6 @@ double CvCapture_FFMPEG::get_duration_sec() const
11131113
sec = (double)ic->streams[video_stream]->duration * r2d(ic->streams[video_stream]->time_base);
11141114
}
11151115

1116-
if (sec < eps_zero)
1117-
{
1118-
sec = (double)ic->streams[video_stream]->duration * r2d(ic->streams[video_stream]->time_base);
1119-
}
1120-
11211116
return sec;
11221117
}
11231118

0 commit comments

Comments
 (0)