[FFmpeg-devel] [PATCH 0/4] check return value of setsockopt

Jun Zhao mypopydev at gmail.com
Sun Aug 5 16:14:29 EEST 2018


V1: - check return value of setsockopt in network/tcp.
    - move log_net_error as ff_log_net_error for udp/tcp error log reuse.

Jun Zhao (4):
  lavf/network: add a ff_log_net_error function.
  lavf/network: check return value of setsockopt.
  lavf/tcp: check return value of setsockopt.
  lavf/udp: use ff_log_net_error to replace log_net_error

 libavformat/network.c |   14 ++++++++++++--
 libavformat/network.h |    2 ++
 libavformat/tcp.c     |   16 ++++++++++++----
 libavformat/udp.c     |   41 +++++++++++++++++------------------------
 4 files changed, 43 insertions(+), 30 deletions(-)



More information about the ffmpeg-devel mailing list