[FFmpeg-devel] [PATCH] ffplay.c : conditionally include rtsp.h

Diego Biurrun diego
Tue Jul 14 15:58:39 CEST 2009


On Tue, Jul 14, 2009 at 03:51:41PM +0200, Luca Abeni wrote:
> 
> On Tue, 2009-07-14 at 15:47 +0200, Diego Biurrun wrote:
> [...]
> > > rtsp.h includes network.h which creates havoc.
> > 
> > What is the problem exactly?
> > 
> > > Since rtsp should not be compiled when networking is disable patch
> > > should be correct I think.
> > 
> > I think the rtsp.h #include has no business in ffplay.c to begin with.
> > I'll doublecheck.
> 
> Yes, I was going to write the same thing... Does anyone remember why is
> rtsp.h included in ffplay.c?
> I think that on linux ffplay.c compiles without problems even without
> including rtsp.h...

Yes, once more porting improves our code overall :-)

Diego



More information about the ffmpeg-devel mailing list