[FFmpeg-devel] [PATCH] libavformat/tcp: add local_addr/local_port for network option

Nicolas George george at nsup.org
Thu Mar 2 20:51:44 EET 2023


Rémi Denis-Courmont (12023-03-02):
> That needs to match the socket protocol family, or bind() will fail.

Oh, right! The proper way to work with getaddrinfo is to create the
socket afterwards based on its return, but staying within a family is a
good second best choice. Thanks for noticing.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230302/aecb3311/attachment.sig>


More information about the ffmpeg-devel mailing list