Hello, I encountered strange behaviour, when using avcodec_encode_video() to make jpeg image. My project is Windows COM dll, which is used from within a .NET client, and when the above function is called in a thread originated from .NET, it always crashes in a very strange manner. However, if the same call is made from another thread - just for the test - it works well and makes correct jpeg. The COM object is accessed directly, i.e. with no proxy, from the same apartment. According the MSVC debugger, avcodec_encode_video() always crashes in the very beginning, when accessing its parameters, at the instruction mov ebp,dword ptr [esp+3Ch] -- which definitely cannot cause a crash... In short, I'd appreciate any idea!
Thanks. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
