[FFmpeg-devel] [PATCH] rtsp EPROTONOSUPPORT => AVERROR_INVALIDDATA
pross at xvid.org
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.
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel