Originally committed as revision 13076 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla authored on 2008/05/08 09:46:34... | ... |
@@ -31,7 +31,9 @@ |
31 | 31 |
#include "cmdutils.h" |
32 | 32 |
#include "avstring.h" |
33 | 33 |
#include "version.h" |
34 |
+#ifdef CONFIG_NETWORK |
|
34 | 35 |
#include "network.h" |
36 |
+#endif |
|
35 | 37 |
|
36 | 38 |
#undef exit |
37 | 39 |
|
... | ... |
@@ -181,9 +183,11 @@ void print_error(const char *filename, int err) |
181 | 181 |
case AVERROR(ENOENT): |
182 | 182 |
fprintf(stderr, "%s: no such file or directory\n", filename); |
183 | 183 |
break; |
184 |
+#ifdef CONFIG_NETWORK |
|
184 | 185 |
case AVERROR(FF_NETERROR(EPROTONOSUPPORT)): |
185 | 186 |
fprintf(stderr, "%s: Unsupported network protocol\n", filename); |
186 | 187 |
break; |
188 |
+#endif |
|
187 | 189 |
default: |
188 | 190 |
fprintf(stderr, "%s: Error while opening file\n", filename); |
189 | 191 |
break; |