[FFmpeg-cvslog] r12679 - trunk/cmdutils.c

lu_zero subversion
Fri Apr 4 00:16:34 CEST 2008


Author: lu_zero
Date: Fri Apr  4 00:16:34 2008
New Revision: 12679

Log:
Error message for EPROTONOSUPPORT, patch from prossATxvidDoTorg

Modified:
   trunk/cmdutils.c

Modified: trunk/cmdutils.c
==============================================================================
--- trunk/cmdutils.c	(original)
+++ trunk/cmdutils.c	Fri Apr  4 00:16:34 2008
@@ -31,6 +31,7 @@
 #include "cmdutils.h"
 #include "avstring.h"
 #include "version.h"
+#include "network.h"
 
 #undef exit
 
@@ -180,6 +181,9 @@ void print_error(const char *filename, i
     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;




More information about the ffmpeg-cvslog mailing list