VideoCapture crashed when open video in WIN32 Release (Bug #752)
Platform: Windows 7 64bit Visual Studio 2010
Problem: the below failed when complied in Win32 Release, but works fine in Win32 Debug.
[[VideoCapture]] cap; cap.open("sample.avi");// Crashed at here ...
I think this problem comes from ffmpeg220.dll because when i forced the project(ffmpeg220.dll) complied in _DEBUG, problem solved.
I had the same problem.
Changing the option "Enable Incremental Linking" in "Release" configuration in the "opencv_ffmpeg" project to "Yes (/INCREMENTAL)" solved this problem for me (of course a rebuilding the library is necessary).
Maybe this should be assigned in the SVN trunk, if this is the solution.