[Bug 214852] multimedia/ffmpeg: fix RTP stream

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 26 16:17:13 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214852

--- Comment #1 from Jan Beich (mail not working) <jbeich at FreeBSD.org> ---
Comment on attachment 177416
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=177416
Fix rtp stream

Looks OK except one nit:

> +-            getnameinfo((struct sockaddr*) &addr, sizeof(addr),
> ++            getnameinfo((struct sockaddr*) &addr,
> ++#ifdef __FreeBSD__
> ++                        ((struct sockaddr*) &addr)->sa_len,

sa_len exists on BSDs, OS X, Solaris but in ports/ only FreeBSD and DragonFly
are important. Please, convert to #if HAVE_STRUCT_SOCKADDR_SA_LEN similar to
libavformat/network.h.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-multimedia mailing list