[FFmpeg-devel] no protocol error

Michael Niedermayer michaelni
Mon Aug 13 14:53:08 CEST 2007


Hi

On Sat, Aug 11, 2007 at 07:12:18AM +0200, Andreas ?man wrote:
> 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 ?

no

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

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070813/dd602855/attachment.pgp>



More information about the ffmpeg-devel mailing list