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

François Revol revol
Wed Feb 7 22:29:07 CET 2007


> 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...

http://search.gmane.org/?query=thread&group=gmane.comp.video.ffmpeg.devel

Fran?ois.




More information about the ffmpeg-devel mailing list