Browse Source

Error message for EPROTONOSUPPORT, patch from prossATxvidDoTorg

Originally committed as revision 12679 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Luca Barbato 18 years ago
parent
commit
18ec046026
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      cmdutils.c

+ 4
- 0
cmdutils.c View File

@@ -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, int err)
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;


Loading…
Cancel
Save