Merge pull request #6276 from SpecLad:bp-3813

pull/6281/head
Alexander Smorkalov 9 years ago
commit d142c05d61
  1. 4
      modules/highgui/src/cap_ffmpeg_impl.hpp

@ -853,8 +853,6 @@ bool CvCapture_FFMPEG::grabFrame()
frame_number > ic->streams[video_stream]->nb_frames )
return false;
av_free_packet (&packet);
picture_pts = AV_NOPTS_VALUE_;
// get the next frame
@ -917,8 +915,6 @@ bool CvCapture_FFMPEG::grabFrame()
if (count_errs > max_number_of_attempts)
break;
}
av_free_packet (&packet);
}
if( valid && first_frame_number < 0 )

Loading…
Cancel
Save