On Thu, May 19, 2005 at 09:07:45PM +0200, H. Steuer wrote:
hello everybody,
are the two ffmpeg libraries libavformat and libavcodev thread safe? I tried to start coding and was wondering that calls to av_find_stream_info() broke the threaded application. is there a way to savely use ffmepg in threaded apps?
Yes it's thread safe, as long as you properly lock around calling the main init functions and only use each codec context in a single thread (or ensure that proper locking is done if using it in multiple threads).
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
Please fix your mailer not to send this crap to public lists. It's offensive and stupid and irrelevant since the "intended recipient" is a matter of public archive. Rich