Remove typo/repeated code block

pull/10262/head
Riyuzakii 7 years ago
parent d329674f68
commit 8f1345091e
  1. 5
      modules/videoio/src/cap_ffmpeg_impl.hpp

@ -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…
Cancel
Save