OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34af781
)
udp: Provide additional information on getaddrinfo failure
author
Luca Barbato
<lu_zero@gentoo.org>
Tue, 24 Nov 2015 00:11:56 +0000
(
01:11
+0100)
committer
Luca Barbato
<lu_zero@gentoo.org>
Wed, 25 Nov 2015 08:01:25 +0000
(09:01 +0100)
libavformat/udp.c
patch
|
blob
|
history
diff --git
a/libavformat/udp.c
b/libavformat/udp.c
index
7fc3843
..
6af388b
100644
(file)
--- a/
libavformat/udp.c
+++ b/
libavformat/udp.c
@@
-192,7
+192,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));
}