Commit 18ec0460 authored by Luca Barbato's avatar Luca Barbato
Browse files

Error message for EPROTONOSUPPORT, patch from prossATxvidDoTorg

Originally committed as revision 12679 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 5ee0e139
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include "cmdutils.h" #include "cmdutils.h"
#include "avstring.h" #include "avstring.h"
#include "version.h" #include "version.h"
#include "network.h"
#undef exit #undef exit
...@@ -180,6 +181,9 @@ void print_error(const char *filename, int err) ...@@ -180,6 +181,9 @@ void print_error(const char *filename, int err)
case AVERROR(ENOENT): case AVERROR(ENOENT):
fprintf(stderr, "%s: no such file or directory\n", filename); fprintf(stderr, "%s: no such file or directory\n", filename);
break; break;
case AVERROR(FF_NETERROR(EPROTONOSUPPORT)):
fprintf(stderr, "%s: Unsupported network protocol\n", filename);
break;
default: default:
fprintf(stderr, "%s: Error while opening file\n", filename); fprintf(stderr, "%s: Error while opening file\n", filename);
break; break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment