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

Michael Niedermayer michaelni
Mon Jul 23 17:48:26 CEST 2007


Hi

On Fri, Jul 20, 2007 at 03:54:16PM +0200, Panagiotis Issaris wrote:
> 
> 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?

adding a
#define ENOTSUP blah
is not a solution for systems which lack ENOTSUP as the user app should be
able to test for AVERROR(ENOTSUP) and lavc has no buisness with defining
ENOTSUP in a public header ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070723/216cba7e/attachment.pgp>



More information about the ffmpeg-devel mailing list