[FFmpeg-devel] [PATCH 2/3] avcodec/ff_init_vlc_sparse: use a spinlock for thread sync
Michael Niedermayer
michaelni at gmx.at
Sat Jul 13 14:10:49 CEST 2013
On Sat, Jul 13, 2013 at 01:51:50PM +0200, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
> libavcodec/bitstream.c | 28 +++++++++++++++++++---------
> libavcodec/get_bits.h | 1 +
> 2 files changed, 20 insertions(+), 9 deletions(-)
also, as alternative to this spinlock a second local array + memcpy
could be used
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130713/90daee29/attachment.asc>
More information about the ffmpeg-devel
mailing list