[FFmpeg-devel] r22718 in libavformat/rtsp.c uses non-portable	errno
    Ramiro Polla 
    ramiro.polla
       
    Sun Apr  4 03:10:17 CEST 2010
    
    
  
On Sat, Apr 3, 2010 at 10:08 PM, Ronald S. Bultje <rsbultje at gmail.com> wrote:
> On Fri, Apr 2, 2010 at 6: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:
>>> 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));
>
> Why isn't FF_NETERROR automatically an AVERROR?
I don't know. This is how it's done above in:
        if (lower_transport_mask == 0 && err == 1) {
            err = AVERROR(FF_NETERROR(EPROTONOSUPPORT));
            goto fail;
        }
    
    
More information about the ffmpeg-devel
mailing list