delete video readers

(cherry picked from commit 0d5b739d35)
pull/6448/head^2
Ilya Lavrenov 9 years ago committed by Alexander Smorkalov
parent 15b313ce4b
commit 96a2edb375
  1. 4
      modules/highgui/test/test_ffmpeg.cpp

@ -396,6 +396,10 @@ TEST(Highgui_Video_parallel_writers_and_readers, accuracy)
if (code == 1)
std::cerr << "Couldn't delete " << *i << std::endl;
}
// delete the readers
for (std::vector<VideoCapture *>::iterator i = readers.begin(), end = readers.end(); i != end; ++i)
delete *i;
}
#endif

Loading…
Cancel
Save