[FFmpeg-devel] [PATCH] ffplay.c : conditionally include rtsp.h
Tue Jul 14 15:50:54 CEST 2009
On Tue, Jul 14, 2009 at 03:47:32PM +0200, Diego Biurrun wrote:
> On Tue, Jul 14, 2009 at 04:38:24PM +0300, ?smail D?nmez wrote:
> > On Tue, Jul 14, 2009 at 4:27 PM, Diego Biurrun<diego at biurrun.de> wrote:
> > > On Tue, Jul 14, 2009 at 01:48:24PM +0300, ?smail D?nmez wrote:
> > >>
> > >> Attached patch fixes compilation on WinCE when networking support is disabled.
> > >>
> > >> --- ffplay.c ?(revision 19426)
> > >> +++ ffplay.c ?(working copy)
> > >> @@ -23,7 +23,9 @@
> > >> ?#include "libavutil/avstring.h"
> > >> ?#include "libavformat/avformat.h"
> > >> +#if CONFIG_RTSP_DEMUXER
> > >> ?#include "libavformat/rtsp.h"
> > >> +#endif
> > >
> > > This cannot be the correct solution. ?Look at rtsp.h, its content is
> > > inocuous, something else included from there must be causing the
> > > breakage, please find out what 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.
Nothing from the header was used, so I removed the #include. Problem
More information about the ffmpeg-devel