[FFmpeg-devel] [PATCH v3] avformat/rtsp: introduce get_sa_len() function

Michael Niedermayer michael at niedermayer.cc
Tue Dec 13 23:06:08 EET 2016

On Fri, Nov 25, 2016 at 03:17:22PM +0800, Kevin Lo wrote:
> Since the Linux implementation of sockaddr doesn't have sa_len as a member,
> but the FreeBSD version does, introduce a get_sa_len() function that
> determines the size based on the address family.
> Signed-off-by: Kevin Lo <kevlo at kevlo.org>
> ---
> v3: Check for the right feature when using a sockaddr_in6.
> Some systems, such as OS/2, define AF_INET6 without a full implementation.

> diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
> index c6292c5..ff0e221 100644
> --- a/libavformat/rtsp.c
> +++ b/libavformat/rtsp.c

It seems nicolas disagrees about this patch in v2, this v3 is still
using the same design and you did not reply to nicolas
so ill mark this in patchwork as "changes requested"


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 2
"100% positive feedback" - "All either got their money back or didnt complain"
"Best seller ever, very honest" - "Seller refunded buyer after failed scam"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161213/590d52e8/attachment.sig>

More information about the ffmpeg-devel mailing list