[FFmpeg-devel] question about patch rtsp EPROTONOSUPPORT => AVERROR_INVALIDDATA
Michael Niedermayer
michaelni
Thu Apr 3 21:46:59 CEST 2008
On Thu, Apr 03, 2008 at 10:15:07PM +1000, pross at xvid.org wrote:
> On Tue, Apr 01, 2008 at 03:47:47PM +0200, Michael Niedermayer wrote:
> > The cmdutils change is unrelated to the rtsp one (=seperate patch / commit
> > or flames).
> > Also the cmdutils change is ok. ... and i still dont maintain rtsp :)
>
> You're right. Seperate patches enclosed.
[...]
> Index: cmdutils.c
> ===================================================================
> --- cmdutils.c (revision 12665)
> +++ cmdutils.c (working copy)
> @@ -31,6 +31,7 @@
> #include "cmdutils.h"
> #include "avstring.h"
> #include "version.h"
> +#include "network.h"
>
> #undef exit
>
> @@ -180,6 +181,9 @@
> case AVERROR(ENOENT):
> fprintf(stderr, "%s: no such file or directory\n", filename);
> break;
> + case AVERROR(FF_NETERROR(EPROTONOSUPPORT)):
> + fprintf(stderr, "%s: Unsupported network protocol\n", filename);
> + break;
> default:
> fprintf(stderr, "%s: Error while opening file\n", filename);
> break;
looks ok
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- 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/20080403/2c47b13a/attachment.pgp>
More information about the ffmpeg-devel
mailing list