lavf/tcp: check return value of setsockopt.
authorJun Zhao <mypopydev@gmail.com>
Sat, 4 Aug 2018 09:52:16 +0000 (17:52 +0800)
committerJun Zhao <jun.zhao@intel.com>
Sat, 18 Aug 2018 08:16:11 +0000 (16:16 +0800)
commit0ed0af595b691121d08bad23b56adf24a23a7ae5
tree006199827206024bc533fb557995775e12c7a9a5
parent0a8ff1d8bb07e8ffbbe5dbdc3885bcd6113188e6
lavf/tcp: check return value of setsockopt.

when setsockopt fail, use ff_log_net_error to dump the string
describing for error number.

Signed-off-by: Jun Zhao <mypopydev@gmail.com>
libavformat/tcp.c