[FFmpeg-devel] [PATCH 01/17] temporary commit

Clément Bœsch ubitux at gmail.com
Wed May 9 10:01:26 CEST 2012


make checkheaders fixes from Alex Converse.
---
 libavcodec/options_table.h  |    6 ++++++
 libavformat/options_table.h |    5 +++++
 2 files changed, 11 insertions(+)

diff --git a/libavcodec/options_table.h b/libavcodec/options_table.h
index c4d4277..92b19e2 100644
--- a/libavcodec/options_table.h
+++ b/libavcodec/options_table.h
@@ -22,6 +22,12 @@
 #ifndef AVCODEC_OPTIONS_TABLE
 #define AVCODEC_OPTIONS_TABLE
 
+#include <float.h>
+#include <limits.h>
+
+#include "libavutil/opt.h"
+#include "avcodec.h"
+
 #define OFFSET(x) offsetof(AVCodecContext,x)
 #define DEFAULT 0 //should be NAN but it does not work as it is not a constant in glibc as required by ANSI/ISO C
 //these names are too long to be readable
diff --git a/libavformat/options_table.h b/libavformat/options_table.h
index 8d57c27..fddf1a3 100644
--- a/libavformat/options_table.h
+++ b/libavformat/options_table.h
@@ -21,6 +21,11 @@
 #ifndef AVFORMAT_OPTIONS_TABLE
 #define AVFORMAT_OPTIONS_TABLE
 
+#include <limits.h>
+
+#include "libavutil/opt.h"
+#include "avformat.h"
+
 #define OFFSET(x) offsetof(AVFormatContext,x)
 #define DEFAULT 0 //should be NAN but it does not work as it is not a constant in glibc as required by ANSI/ISO C
 //these names are too long to be readable
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list