[FFmpeg-devel] [PATCH 3/3 v3] h264: Run VLC init under pthread_once

Michael Niedermayer michael at niedermayer.cc
Wed Oct 7 22:18:05 CEST 2015

On Wed, Oct 07, 2015 at 12:28:51PM -0400, Derek Buitenhuis wrote:
> This makes the h.264 decoder threadsafe to initialize.

can you explain why it is not threadsafe currently ?
(assuming "done = 1" would be moved to the end of

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Old school: Use the lowest level language in which you can solve the problem
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151007/d3297984/attachment.sig>

More information about the ffmpeg-devel mailing list