pthread: Do not use a half updated context as master for deallocation.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 13 Jan 2013 04:42:01 +0000 (05:42 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 13 Jan 2013 05:22:04 +0000 (06:22 +0100)
commita6e4796fbf0aa9b13451a8ef917ecc4e80d1d272
treebf1bbe67f652cf8329d5ddfa0a18d6c5bb4f52b1
parent2ea3f37d5f974ab79a3a777e42f5dbfac17c1959
pthread: Do not use a half updated context as master for deallocation.

Fixes assertion failure

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/pthread.c