Browse Source

Remove the inclusion of rtsp.h and rtp.h from avformat.h, and

explicitly include such headers where needed

Originally committed as revision 10871 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Luca Abeni 18 years ago
parent
commit
c971ff1977
4 changed files with 4 additions and 4 deletions
  1. +1
    -0
      ffplay.c
  2. +2
    -0
      ffserver.c
  3. +0
    -4
      libavformat/avformat.h
  4. +1
    -0
      libavformat/rtsp.c

+ 1
- 0
ffplay.c View File

@@ -22,6 +22,7 @@
#include <math.h> #include <math.h>
#include <limits.h> #include <limits.h>
#include "avformat.h" #include "avformat.h"
#include "rtsp.h"
#include "swscale.h" #include "swscale.h"
#include "avstring.h" #include "avstring.h"




+ 2
- 0
ffserver.c View File

@@ -26,6 +26,8 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include "avformat.h" #include "avformat.h"
#include "rtsp.h"
#include "rtp.h"


#include <stdarg.h> #include <stdarg.h>
#include <unistd.h> #include <unistd.h>


+ 0
- 4
libavformat/avformat.h View File

@@ -460,10 +460,6 @@ enum CodecID av_guess_image2_codec(const char *filename);
/* XXX: use automatic init with either ELF sections or C file parser */ /* XXX: use automatic init with either ELF sections or C file parser */
/* modules */ /* modules */


#include "rtp.h"

#include "rtsp.h"

/* utils.c */ /* utils.c */
void av_register_input_format(AVInputFormat *format); void av_register_input_format(AVInputFormat *format);
void av_register_output_format(AVOutputFormat *format); void av_register_output_format(AVOutputFormat *format);


+ 1
- 0
libavformat/rtsp.c View File

@@ -24,6 +24,7 @@
#include <unistd.h> /* for select() prototype */ #include <unistd.h> /* for select() prototype */
#include "network.h" #include "network.h"
#include "avstring.h" #include "avstring.h"
#include "rtsp.h"


#include "rtp_internal.h" #include "rtp_internal.h"




Loading…
Cancel
Save