[FFmpeg-devel] mutlithreading in ffmpeg?

Frank Barchard fbarchard at google.com
Tue Mar 29 03:32:56 CEST 2011

On Sun, Mar 27, 2011 at 2:52 AM, Reimar Döffinger
<Reimar.Doeffinger at gmx.de>wrote:

> On Sat, Mar 26, 2011 at 12:14:40PM +0100, Michael Niedermayer wrote:
> > This patch looks like it would break if libavcodec would be linked
> > with an application that itself also used static pthreads
> Not to mention that it will crash if an application dynamically loads
> libavcodec and then unloads it before exiting (i.e. the atexit code
> will no longer exist when the program exits).
Thats what Chromium does - Each tab is a process that loads avcodec-52.dll.
 Closing a tab unloads the dll.
A DLL is really an .exe.  The atexit code runs when the DLL is unloaded.

More information about the ffmpeg-devel mailing list