소스 검색

Fix 'make checkheaders', based on a patch by Diego Pettenò, flameeyes gmail com.

Originally committed as revision 15552 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun 17 년 전
부모
커밋
95137bbbb4
5개의 변경된 파일12개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 0
      cmdutils.h
  2. 1 1
      libavcodec/aacpsy.h
  3. 2 0
      libavcodec/ra288.h
  4. 2 0
      libavformat/internal.h
  5. 4 0
      libavformat/rdt.h

+ 3 - 0
cmdutils.h

@@ -23,6 +23,9 @@
 #define FFMPEG_CMDUTILS_H
 
 #include <inttypes.h>
+#include "libavcodec/avcodec.h"
+#include "libavformat/avformat.h"
+#include "libswscale/swscale.h"
 
 /**
  * program name, defined by the program for show_version().

+ 1 - 1
libavcodec/aacpsy.h

@@ -24,7 +24,7 @@
 
 #include "avcodec.h"
 #include "aac.h"
-#include "lowpass.h"
+//#include "lowpass.h"
 
 enum AACPsyModelType{
     AAC_PSY_TEST,              ///< a sample model to exercise encoder

+ 2 - 0
libavcodec/ra288.h

@@ -22,6 +22,8 @@
 #ifndef AVCODEC_RA288_H
 #define AVCODEC_RA288_H
 
+#include <stdint.h>
+
 static const float amptable[8]={
      0.515625,  0.90234375,  1.57910156,  2.76342773,
     -0.515625, -0.90234375, -1.57910156, -2.76342773

+ 2 - 0
libavformat/internal.h

@@ -21,6 +21,8 @@
 #ifndef AVFORMAT_INTERNAL_H
 #define AVFORMAT_INTERNAL_H
 
+#include <stdint.h>
+
 char *ff_data_to_hex(char *buf, const uint8_t *src, int size);
 
 #endif /* AVFORMAT_INTERNAL_H */

+ 4 - 0
libavformat/rdt.h

@@ -22,6 +22,10 @@
 #ifndef AVFORMAT_RDT_H
 #define AVFORMAT_RDT_H
 
+#include <stdint.h>
+#include "avformat.h"
+#include "rtp.h"
+
 typedef struct RDTDemuxContext RDTDemuxContext;
 
 RDTDemuxContext *ff_rdt_parse_open(AVFormatContext *ic, AVStream *st,