[FFmpeg-cvslog] options_table: Add some missing #includes to fix "make checkheaders".
Alex Converse
git at videolan.org
Thu May 10 02:33:18 CEST 2012
ffmpeg | branch: master | Alex Converse <alex.converse at gmail.com> | Mon May 7 16:25:12 2012 -0700| [40f81769aec24a93563cd547e02ba8478aa95849] | committer: Diego Biurrun
options_table: Add some missing #includes to fix "make checkheaders".
Signed-off-by: Diego Biurrun <diego at biurrun.de>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=40f81769aec24a93563cd547e02ba8478aa95849
---
libavcodec/options_table.h | 6 ++++++
libavformat/options_table.h | 5 +++++
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/libavcodec/options_table.h b/libavcodec/options_table.h
index 1e2560c..eed3bdb 100644
--- a/libavcodec/options_table.h
+++ b/libavcodec/options_table.h
@@ -20,6 +20,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 683596c..58f3dcf 100644
--- a/libavformat/options_table.h
+++ b/libavformat/options_table.h
@@ -19,6 +19,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
More information about the ffmpeg-cvslog
mailing list