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

İsmail Dönmez ismail
Tue Jul 14 15:38:24 CEST 2009


Hi,

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.

rtsp.h includes network.h which creates havoc. Since rtsp should not
be compiled when networking is disable patch should be correct I
think.

Regards.

-- 
?smail D?NMEZ



More information about the ffmpeg-devel mailing list