[Ffmpeg-devel] List of non-thread safe functions

Stas Oskin stas.oskin
Fri Feb 9 18:37:36 CET 2007

>Oh, and don't top-post. cf. Netiquette.

Sorry, will pay attention from now on.

>the functions you listed are probably a pretty accurate list of what needs

I have the feeling that not only these functions should be mutex'ed. After I
increased the number of concurrent threads, I encountered a lot of errors
returned by setup functions like av_codec_open(), even when they are
protected by mutex. I think the earlier functions, like av_set_parameters(),
av_open_stream() should be protected as well.

Anyone can comment on this?

More information about the ffmpeg-devel mailing list