[FFmpeg-devel] r22718 in libavformat/rtsp.c uses non-portable errno

Sam Gerstein sgerstein
Fri Apr 2 22:09:58 CEST 2010


On Thu, Apr 1, 2010 at 10:27 AM, Tom Evans <tevans.uk at googlemail.com> wrote:
> This change introduces a use of ETIME, which as far as I can tell, is
> a non-portable error number (it certainly isn't available in FreeBSD).
>
> Could this be replaced with a different errno? Perhaps ETIMEDOUT ?

I see only now that ETIME is officially optional- agreed, change it to
ETIMEDOUT.  Patch attached!  Apologies for that.
-Sam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtsp_errno_timedout.diff
Type: application/octet-stream
Size: 443 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100402/6128a182/attachment.obj>



More information about the ffmpeg-devel mailing list