To enhance the OSD functions for EasyRTMP, I tried to upgraded the ffmpeg to the latest version(2.2.4).
After a bounch of code/interface adjustment, it finally passed the test in debug version. But while I tried to bulid it in release version, and tried to run it.
Go back to the Visual Studio, open Project Properties –> Linker –> Optimization, find the References property in the right side of the propery page, and try change the setting to “Keep Unreferenced Data(/OPT:NOREF)”.
Now rebuild the project and launch it. God, it worked, XDXD.