[FFmpeg-devel] r22718 in libavformat/rtsp.c uses non-portable errno
Ramiro Polla
ramiro.polla
Tue Apr 6 03:47:05 CEST 2010
On Sat, Apr 3, 2010 at 10:12 PM, Ronald S. Bultje <rsbultje at gmail.com> wrote:
> On Sat, Apr 3, 2010 at 9:10 PM, Ramiro Polla <ramiro.polla at gmail.com> wrote:
>> 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;
>> ? ? ? ?}
>
> Does anyone mind if we make FF_NETERROR() wrap AVERROR()?
Ping.
More information about the ffmpeg-devel
mailing list