[FFmpeg-devel] [PATCH] Replace ENOSYS by ENOTSUP

Víctor Paesa wzrlpy
Tue Jul 31 16:53:23 CEST 2007


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
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.


More information about the ffmpeg-devel mailing list