[FFmpeg-devel] pthread_t is a struct on win32 so it cannot used as truth value

Michael Niedermayer michaelni at gmx.at
Sat May 14 13:28:58 CEST 2011

On Sat, May 14, 2011 at 07:31:22AM +0200, Gianluigi Tiesi wrote:
> Hi,
> right now compilation of libavformat/udp.c
> is broken on win32 because thread_t is used as truth value
> at line 537.
> not a good idea anyway since linux manual page of pthread_create says:
> On success, pthread_create() returns 0; on error, it returns an error number, and the contents of *thread are undefined.

thx, locally fixed
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110514/d6a95518/attachment.asc>

More information about the ffmpeg-devel mailing list