Commit adef229e authored by Ramiro Polla's avatar Ramiro Polla

AVERROR(FF_NETERROR(x)) -> FF_NETERROR(x)

FF_NETERROR is implicitly an AVERROR.

Originally committed as revision 22888 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 4aecee7f
...@@ -295,7 +295,7 @@ void print_error(const char *filename, int err) ...@@ -295,7 +295,7 @@ void print_error(const char *filename, int err)
switch(err) { switch(err) {
#if CONFIG_NETWORK #if CONFIG_NETWORK
case AVERROR(FF_NETERROR(EPROTONOSUPPORT)): case FF_NETERROR(EPROTONOSUPPORT):
fprintf(stderr, "%s: Unsupported network protocol\n", filename); fprintf(stderr, "%s: Unsupported network protocol\n", filename);
break; break;
#endif #endif
......
...@@ -1583,7 +1583,7 @@ redirect: ...@@ -1583,7 +1583,7 @@ redirect:
goto fail; goto fail;
lower_transport_mask &= ~(1 << lower_transport); lower_transport_mask &= ~(1 << lower_transport);
if (lower_transport_mask == 0 && err == 1) { if (lower_transport_mask == 0 && err == 1) {
err = AVERROR(FF_NETERROR(EPROTONOSUPPORT)); err = FF_NETERROR(EPROTONOSUPPORT);
goto fail; goto fail;
} }
} while (err); } while (err);
......
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