diff options
author | Benjamin Larsson <banan@ludd.ltu.se> | 2005-07-13 10:18:35 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-07-13 10:18:35 +0000 |
commit | 58379c062f098482a54bf8a178150e0bf6d5e4ee (patch) | |
tree | 8790ea70e865c030a7732c98fdc1c66b7aab3bd1 /libavformat/udp.c | |
parent | dc77ef7fea979d086176b2cc7e8798b57c1ce9bc (diff) | |
download | ffmpeg-58379c062f098482a54bf8a178150e0bf6d5e4ee.tar.gz |
printf-> av_log patch by (Benjamin Larsson, banan: student ltu se)
Originally committed as revision 4437 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/udp.c')
-rw-r--r-- | libavformat/udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c index 8b5fc32a2c..50aa14bfaf 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -133,7 +133,7 @@ struct addrinfo* udp_ipv6_resolve_host(const char *hostname, int port, int type, hints.ai_family = family; hints.ai_flags = flags; if ((error = getaddrinfo(node, service, &hints, &res))) { - fprintf(stderr, "udp_ipv6_resolve_host: %s\n", gai_strerror(error)); + av_log(NULL, AV_LOG_ERROR, "udp_ipv6_resolve_host: %s\n", gai_strerror(error)); } } return res; |