mirror of https://github.com/FFmpeg/FFmpeg.git
Some systems may be lacking getservbyport; the previous ifdef wasn't quite enough since it still assumed that struct servent was defined, as pointed out by Clément Gregoire. Simply remove the possibility to return non-numeric services in getnameinfo; no caller of getnameinfo within libavformat currently try to use getnameinfo for retrieving the port number without NI_NUMERICSERV, and falling back on getservbyport may be non-threadsafe. Signed-off-by: Martin Storsjö <martin@martin.st>pull/158/head
parent
567ca14295
commit
00b62968d0
2 changed files with 2 additions and 11 deletions
Loading…
Reference in new issue