Skip to content

[3.0] contrib: pthreads: allow NULL initialized mutex in pthread_mutex_destroy()

Steve Lhomme requested to merge robUx4/vlc:pthreadsgc2-destroy-mutex into 3.0.x

libavcodec/vp9 destroys a mutex that was not initialized through pthread_mutex_init() but was set to NULL. This seems to work on all other platforms, so just allow this case in pthreadsGC2.

Fixes #26017 (closed)

Merge request reports