[FFmpeg-devel] Why is rtp.h installed?

Aurelien Jacobs aurel
Fri Oct 26 12:47:18 CEST 2007

On Fri, 26 Oct 2007 10:41:28 +0200
Luca Abeni <lucabe72 at email.it> wrote:

> Hi all,
> while trying to cleanup something in the RTP muxer and to fix
> the "too many RTCP packets" bug, I noticed that rtp.h is
> an installed header... Does anyone know why?
> If the answer is "because avformat.h includes it", then the
> follow-up question is: why does avformat.h include rtp.h?
> (note the recursive inclusion between rtp.h and avformat.h :).
> So, would anyone be against removing rtp.h and rtsp.h from the
> installed headers? (of course, this will require to fix some
> "#include"... If people agree, I'll send a patch).

I would like to see them removed from installed headers, but that
don't seem so simple.
For example, ffmpeg.c directly modify rtsp_default_protocols which
is exported by rtsp.h. This is ugly, but for now it seems that apps
which use lavf may need rtsp.h.


More information about the ffmpeg-devel mailing list