[FFmpeg-devel] no protocol error

Andreas Öman andreas
Sat Aug 11 07:12:18 CEST 2007


Hi

Michael Niedermayer wrote:
> Hi
> 
> On Thu, Aug 09, 2007 at 10:38:42AM +0200, Andreas ?man wrote:
>> Hi
>>
>> Attached patch returns ENOPROTOOPT ("Protocol not available" according
>> to POSIX) if the url protocol cannot be found. I think it is more
>> appropriate than ENOENT (which is returned by the system file io
>> functions if the file cannot be found)
>>
> 
> whats the difference to EPROTONOSUPPORT ?

Not much, but perhaps it's better ("Protocol not supported") is returned
from strerror().
Shall i add an AVERROR_NOPROTO aswell in avcodec.h ?




More information about the ffmpeg-devel mailing list