network: use getservbyport() only if available
authorMans Rullgard <mans@mansr.com>
Sun, 14 Oct 2012 19:24:51 +0000 (20:24 +0100)
committerMans Rullgard <mans@mansr.com>
Tue, 23 Oct 2012 11:00:21 +0000 (12:00 +0100)
commitc3e73100af9b685be796bcd3e68786130d45ea24
tree54b7d357df7d67f8de47d8ba5ff1e31110622c2e
parentda0d0ae9a4294fcc42b7159b902c8950ad1abb54
network: use getservbyport() only if available

The absence of this function will only give a less informative
string back from our fallback implementation of getnameinfo().

Signed-off-by: Mans Rullgard <mans@mansr.com>
configure
libavformat/os_support.c