[FFmpeg-devel] [PATCH 1/3] Revert "bitstream: make vlc init of static tables thread safe."

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Jul 16 12:09:34 CEST 2013


Michael Niedermayer <michaelni <at> gmx.at> writes:

> There are basically 4 options
> 1. leave this code and replace the mallocs by a second on stack buffer
> 2. drop this code and use some kind of synchronization
> 3. rewrite the code to be fundamentally thread safe
> 4. deal with malloc failures in all callers
> 
> I did 2.
> carl did 4.
> 
> 3. is probably not that easy and may have performace implications

Ping?

One of the solutions should be committed imo.

Carl Eugen



More information about the ffmpeg-devel mailing list