]> git.sesse.net Git - ffmpeg/commit
avcodec/utils: Force mutex to NULL after destruction.
authorManfred Georg <mgeorg@google.com>
Tue, 30 Sep 2014 22:20:42 +0000 (15:20 -0700)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 30 Sep 2014 22:56:53 +0000 (00:56 +0200)
commit79551d2c7a772ea971e94f0b8dc03d1e897e8d86
tree7d7472c319d745c5f38b1c69fef3f2a1d5c7c728
parentc8422f04a3256a9abc01588f1b4aa95f5aadc891
avcodec/utils: Force mutex to NULL after destruction.

A badly behaving user provided mutex manager (such as that in OpenCV) may not reset the mutex to NULL on destruction.  This can cause a problem for a later mutex manager (which may assert that the mutex is NULL before creating).

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/utils.c