[FFmpeg-devel] rtsp.c implicit declaration

Ronald S. Bultje rsbultje
Tue Oct 26 21:47:55 CEST 2010


On Tue, Oct 26, 2010 at 3:29 PM, Reimar D?ffinger
<Reimar.Doeffinger at gmx.de> wrote:
> if the RTSP muxer is disabled, compilation fails because
> rtsp_setup_output_streams is used via an implicit declaration.
> So either a forward declaration is needed or the #if should
> be moved inside the function or something like that...

So the preprocessor doesn't like our if(0) trick? That's bad. Maybe
just move if (0) -> #if ... then in the caller.


More information about the ffmpeg-devel mailing list