# HG changeset patch # User lucabe # Date 1193649335 0 # Node ID 6037eb4919fb3ab7d544d1871fe5f9b17bee837c # Parent 6326140d67ab33769e8e87110d2b907e3c776a0e Remove the inclusion of rtsp.h and rtp.h from avformat.h, and explicitly include such headers where needed diff -r 6326140d67ab -r 6037eb4919fb avformat.h --- a/avformat.h Sun Oct 28 22:11:07 2007 +0000 +++ b/avformat.h Mon Oct 29 09:15:35 2007 +0000 @@ -460,10 +460,6 @@ /* XXX: use automatic init with either ELF sections or C file parser */ /* modules */ -#include "rtp.h" - -#include "rtsp.h" - /* utils.c */ void av_register_input_format(AVInputFormat *format); void av_register_output_format(AVOutputFormat *format); diff -r 6326140d67ab -r 6037eb4919fb rtsp.c --- a/rtsp.c Sun Oct 28 22:11:07 2007 +0000 +++ b/rtsp.c Mon Oct 29 09:15:35 2007 +0000 @@ -24,6 +24,7 @@ #include /* for select() prototype */ #include "network.h" #include "avstring.h" +#include "rtsp.h" #include "rtp_internal.h"