Quoting Andreas Rheinhardt (2022-06-30 23:48:00)
> It results in undefined behaviour. Instead initialize the mutexes
> and condition variables once during init (and check these
> initializations).
> 
> Also combine the corresponding mutex and condition variable
> into one structure so that one can allocate their array
> jointly.
> 
> Signed-off-by: Andreas Rheinhardt <[email protected]>
> ---
> Now also adding the fallback function in case threads are disabled.

LGTM

-- 
Anton Khirnov
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to