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

Gianluigi Tiesi mplayer at netfarm.it
Sat May 14 07:31:22 CEST 2011


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.

Regards

-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/


More information about the ffmpeg-devel mailing list