[Ffmpeg-devel] List of non-thread safe functions
Thu Feb 8 14:46:09 CET 2007
Thanks for the answer. So, it can be assumed that for a safe MT operation of
libavcodec, all avcodec functions calls should be protected by mutex?
On 2/7/07, Fran?ois Revol <revol at free.fr> wrote:
> > Hi.
> > I compiled the following list after searching through the mail
> > archives. Can
> > anyone add/change anything in this list?
> There is not really any function in libavcodec that is threadsafe.
> > avcodec_init()
> > avcodec_register()
> > avcodec_register_all()
> > avcodec_find*()
> > avcodec_open()
> > close()
> > av_*alloc_static()
> Though several like those are the ones most likely used from several
> threads when having 1 thread / codec.
> You can probably find more references in the ml archives...
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
More information about the ffmpeg-devel