changeset 2681:6037eb4919fb libavformat

Remove the inclusion of rtsp.h and rtp.h from avformat.h, and explicitly include such headers where needed
author lucabe
date Mon, 29 Oct 2007 09:15:35 +0000
parents 6326140d67ab
children 66bd9e2fbcf1
files avformat.h rtsp.c
diffstat 2 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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);
--- 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 <unistd.h> /* for select() prototype */
 #include "network.h"
 #include "avstring.h"
+#include "rtsp.h"
 
 #include "rtp_internal.h"