udp: Properly print error from getnameinfo

getnameinfo doesn't set errno on failure, it returns an error code,
which should be handled by gai_strerror instead of the normal
strerror.

Signed-off-by: Martin Storsjö <martin@martin.st>
udp: Properly check for invalid sockets

If stdin has been closed, 0 is a valid socket descriptor.

Signed-off-by: Martin Storsjö <martin@martin.st>
udp: fix occasional crash on shutdown

Wait until the thread is down before destroying the fifo

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
backport udp: pick params from AVOptions also
fixup backport udp:
udp: Fix receiving large udp packets

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
more DVDDemuxFFmpeg changes
temp logging