w32thread: call ResetEvent() in pthread_cond_broadcast().
authorSergey Radionov <rsatom@gmail.com>
Fri, 23 Dec 2011 03:37:48 +0000 (10:37 +0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Fri, 23 Dec 2011 03:48:52 +0000 (19:48 -0800)
commit01eb9805f37835e20501134ae26e379140fe3239
tree0a26ae77df8751b85f2e3d4025d52127e80c3abe
parent4e8d6218c3cb8b9feffb70f8a53859540b975b36
w32thread: call ResetEvent() in pthread_cond_broadcast().

Also add "volatile" to broadcast flag (since it is used from
multiple threads).

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/w32pthreads.h