[FFmpeg-devel] r22718 in libavformat/rtsp.c uses non-portable errno
Sat Apr 10 18:56:43 CEST 2010
On Fri, Apr 2, 2010 at 7:51 PM, Ramiro Polla <ramiro.polla at gmail.com> wrote:
> On Fri, Apr 2, 2010 at 5:15 PM, Ronald S. Bultje <rsbultje at gmail.com> wrote:
>> On Fri, Apr 2, 2010 at 4:09 PM, Sam Gerstein <sgerstein at bluefinlab.com> wrote:
>>> 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.
>> Can the Windows / cygwin people please generate a patch against
>> os_support.h to add this as a WSA define?
> Why is this not a network error?
> - ? ? ? ? ? ?return AVERROR(ETIMEDOUT);
> + ? ? ? ? ? ?return AVERROR(FF_NETERROR(ETIMEDOUT));
May I just commit this to restore compilation on MinGW while we don't
reach an agreement on whether FF_NETERROR should automatically be an
More information about the ffmpeg-devel