[FFmpeg-devel] [PATCH 7/9] Replace AVERROR_NOTSUPP by AVERROR(ENOSYS)

Panagiotis Issaris takis.issaris
Thu Jul 19 18:50:10 CEST 2007


Hi

Op 19-jul-07, om 18:42 heeft Panagiotis Issaris het volgende geschreven:

> Hi
>
> Op 19-jul-07, om 17:55 heeft Michael Niedermayer het volgende
> geschreven:
>
>> Hi
>>
>> On Thu, Jul 19, 2007 at 05:37:48PM +0200, Panagiotis Issaris wrote:
>>> Hi
>>>
>>> Op 19-jul-07, om 17:30 heeft Michael Niedermayer het volgende
>>> geschreven:
>>>
>>>> Hi
>>>>
>>>> On Thu, Jul 19, 2007 at 02:55:22PM +0200, Panagiotis Issaris wrote:
>>>>> The attached patch replaces all occurrances of AVERROR_NOTSUPP  
>>>>> with
>>>>> AVERROR(ENOSYS).
>>>>
>>>> ok
>>>
>>> Applied.
>>
>> ok, also some of these AVERROR(ENOSYS) should be changed to AVERROR
>> (ENOTSUP)
>
>
> According to the OpenGroup website:
> [ENOSYS] Function not supported.
> [ENOTSUP] Not supported.
>
> It is not really clear to me where the difference lies; how would you
> interpret them?

Hmm, probably using ENOTSUP for everything except when a function isn't
supported. So, for example, let's say parsing of a header in a  
demuxer fails,
should that return ENOTSUP? Or EILSEQ?


With friendly regards,
Takis
--
vCard: http://issaris.org/pi.vcf
PGP key: http://issaris.org/pi.key







More information about the ffmpeg-devel mailing list