[vlc-devel] [PATCH 2/2] avcodec: protect the flush call

Francois Cartegnie fcvlcdev at free.fr
Mon Sep 23 12:49:14 CEST 2019


Le 23/09/2019 à 10:51, Thomas Guillem a écrit :
> It's just a 0/1 semaphore. I don't really know why we use a semaphore here instead of a mutex. 
> 

Dates from early avcodec threading.
The usual comment is : is that still needed ?

-- 
Francois Cartegnie
VideoLAN - VLC Developer


More information about the vlc-devel mailing list