aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-11-29 16:12:38 +0100
committerHendrik Leppkes <h.leppkes@gmail.com>2015-11-29 16:12:38 +0100
commita6dac0b41054510eb88210197246f9fc40c5781c (patch)
tree720d5f9df589b8cdf89d764c5bd54921f8ebe707 /libavformat
parentbf54377001369a4d44db1b2db1c1430582180d82 (diff)
parent12b14382861fbf19378afcddaa19cd9a949a86a3 (diff)
downloadffmpeg-a6dac0b41054510eb88210197246f9fc40c5781c.tar.gz
Merge commit '12b14382861fbf19378afcddaa19cd9a949a86a3'
* commit '12b14382861fbf19378afcddaa19cd9a949a86a3': udp: Provide additional information on getaddrinfo failure Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/udp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c
index 65e7306339..4aede0c6ed 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -258,7 +258,9 @@ static struct addrinfo *udp_resolve_host(URLContext *h,
hints.ai_flags = flags;
if ((error = getaddrinfo(node, service, &hints, &res))) {
res = NULL;
- av_log(h, AV_LOG_ERROR, "udp_resolve_host: %s\n",
+ av_log(h, AV_LOG_ERROR, "getaddrinfo(%s, %s): %s\n",
+ node ? node : "unknown",
+ service ? service : "unknown",
gai_strerror(error));
}