pthread: track thread existence in a separate variable.
authorCheng Sun <cheng.sun@ymail.com>
Sun, 27 Nov 2011 00:36:50 +0000 (16:36 -0800)
committerRonald S. Bultje <rsbultje@gmail.com>
Sun, 27 Nov 2011 01:14:13 +0000 (17:14 -0800)
commit3f5aa7dfa64c8757e5eef7b1bf870ec754e40f96
tree01d8ccecfc51e179ae7c9b56b7c6ac3a3603390e
parent7c5ce99bd92fb480b7235cbc9a005f7e6d31f1d7
pthread: track thread existence in a separate variable.

This fixes a compile error on mingw32 when using p->thread
directly (as if it were a pointer) to track thread existence,
because the type is opaque and may be a non-pointer.

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