[FFmpeg-devel] [PATCH] Replace ENOSYS by ENOTSUP
JonY
10walls
Tue Jul 31 17:24:34 CEST 2007
V?ctor Paesa wrote:
> Hi,
>
> Panagiotis Issaris said:
>
>> Hi
>>
>> Op 20-jul-07, om 15:54 heeft Panagiotis Issaris het volgende geschreven:
>>
>>
>>> Op 20-jul-07, om 10:10 heeft Panagiotis Issaris het volgende
>>> geschreven:
>>>
>>>
>>>> Hi
>>>>
>>>> Op 19-jul-07, om 23:36 heeft Michael Niedermayer het volgende
>>>> geschreven:
>>>>
>>>>
>>>>> Hi
>>>>>
>>>>> On Thu, Jul 19, 2007 at 07:12:37PM +0200, Panagiotis Issaris wrote:
>>>>>
>>>>>> Hi
>>>>>>
>>>>>> Replace ENOSYS by ENOTSUP as in this case the problem is not
>>>>>> really a function
>>>>>> which is not available, but a media type which is not supported.
>>>>>>
>>>>> ok
>>>>>
>>>> Applied.
>>>>
>>> On #ffmpeg someone mentioned that Cygwin does not have ENOTSUP. Add a
>>> define for it in os_support.h in case cygwin is used?
>>>
>> Okay, correction, according to that same person it is defined
>> someplace (usr\include\sys\errno.h), but vocenc.c is not compiling on
>> CygWin because of ENOTSUP. Maybe there's something wrong with the
>> includes when building ffmpeg on CygWin.
>>
>
> Sorry for the late comment on this (I've been enjoying an Internet-less
> vacation):
> a) Yes, on Cygwin ENOTSUP is defined in /usr/include/sys/errno.h
> b) As of SVN-9837, vocenc.c compiles fine in my Cygwin box. I have noticed
> that the #ffmpeg person used backslashes "\" instead of forward slashes "/",
> so maybe he/she was using MinGW (where it is not defined) or had some
> unusual setup.
>
> Regards,
> V?ctor
>
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>
>
Hi,
Its MingW that doesn't have ENOTSUP. A search of the my include dir only
shows tclportwin.h with define value -1030507 and pthread.h with 48,
both not from the default MingW setup.
More information about the ffmpeg-devel
mailing list