summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmdutils.c2
-rw-r--r--libavformat/rtsp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmdutils.c b/cmdutils.c
index 7e652a1e7f..e6efc491d7 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -295,7 +295,7 @@ void print_error(const char *filename, int err)
switch(err) {
#if CONFIG_NETWORK
- case AVERROR(FF_NETERROR(EPROTONOSUPPORT)):
+ case FF_NETERROR(EPROTONOSUPPORT):
fprintf(stderr, "%s: Unsupported network protocol\n", filename);
break;
#endif
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 16397e4e90..b0fa2eae25 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -1583,7 +1583,7 @@ redirect:
goto fail;
lower_transport_mask &= ~(1 << lower_transport);
if (lower_transport_mask == 0 && err == 1) {
- err = AVERROR(FF_NETERROR(EPROTONOSUPPORT));
+ err = FF_NETERROR(EPROTONOSUPPORT);
goto fail;
}
} while (err);