On Thu, Feb 26, 2015 at 08:00:49PM -0600, Cary Tetrick wrote: > No, i just extended what Brian already had. Just an option to to control > the no delay. I put the changes inside you #if for networking config.
you misunderstood my question
my question is what #includes it needs and if this is portable and
available on all platforms which support CONFIG_NETWORK?
there certainly is something missing as it does not build.
libavformat/librtmp.c: In function ‘rtmp_open’:
libavformat/librtmp.c:246:52: error: ‘TCP_NODELAY’ undeclared (first use in
this function)
libavformat/librtmp.c:246:52: note: each undeclared identifier is reported only
once for each function it appears in
make: *** [libavformat/librtmp.o] Error 1
[...]
> > > +
> > > + if (flags & AVIO_FLAG_WRITE) {
> > > + int tmp = ctx->tcp_nodelay;
> > > + setsockopt(r->m_sb.sb_socket, IPPROTO_TCP, TCP_NODELAY, &tmp,
> > sizeof(tmp));
> >
> > does this need any #includes, any checks in configure?
> >
> > [...]
> >
> > --
> > Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> >
> > Freedom in capitalist society always remains about the same as it was in
> > ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
> >
> > _______________________________________________
> > ffmpeg-devel mailing list
> > [email protected]
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >
> >
> _______________________________________________
> ffmpeg-devel mailing list
> [email protected]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
