[FFmpeg-devel] [PATCH 1/2] lavu: add thread message API.

Nicolas George george at nsup.org
Tue Apr 22 17:04:42 CEST 2014


Le tridi 3 floréal, an CCXXII, Michael Niedermayer a écrit :
> i dont think these error codes can be correct for a posix function

You are perfectly right, thanks for spotting it.

New version attached, still untested. I had a glance at microsoft's
documentation on the web, apparently GetLastError() would give the exact
error code, but it would require mapping it to POSIX codes; with the use in
FFmpeg, I believe only ENOMEM can happen, the other possible errors were
about reusing handles.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-compat-w32pthreads-add-return-value-to-pthread_cond_.patch
Type: text/x-diff
Size: 1598 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140422/40affb00/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140422/40affb00/attachment.asc>


More information about the ffmpeg-devel mailing list