[FFmpeg-devel] [PATCH] rtsp EPROTONOSUPPORT => AVERROR_INVALIDDATA

pross at xvid.org pross
Mon Mar 24 07:46:08 CET 2008


On Mon, Mar 24, 2008 at 02:44:15AM +0100, Luca Barbato wrote:
> pross at xvid.org wrote:
> > Hello,
> > 
> > The rtsp demuxer was modified in r12504 to report AVERROR(EPROTONOSUPPORT)
> > when an unsupported protocol is encountered. This does not compile under
> > MinGW, becasue WinSock uses a different errno system (WSAEPROTONOSUPPORT).
> 
> What about handling the thing in libos?

Maybe? The function could return AVERROR(FF_NETERROR(EPROTONOSUPPORT)) instead,
however this will preclude users on windows using strerror() to translate the
error constant into human readable form.

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- 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/20080324/22fd83ab/attachment.pgp>



More information about the ffmpeg-devel mailing list