[FFmpeg-cvslog] Add missing includes for code relying on external libraries
Martin Storsjö
git at videolan.org
Fri Aug 17 17:10:44 CEST 2012
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Thu Aug 16 14:24:26 2012 +0300| [7ebe3962f399dcddc852bda92e595b0152c3701d] | committer: Martin Storsjö
Add missing includes for code relying on external libraries
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7ebe3962f399dcddc852bda92e595b0152c3701d
---
libavcodec/libopenjpegdec.c | 1 +
libavcodec/libopenjpegenc.c | 1 +
libavcodec/libschroedinger.c | 1 +
libavcodec/libschroedingerdec.c | 4 ++++
libavcodec/libxavs.c | 2 ++
libavfilter/vf_frei0r.c | 6 ++++++
libavfilter/vf_libopencv.c | 1 +
7 files changed, 16 insertions(+)
diff --git a/libavcodec/libopenjpegdec.c b/libavcodec/libopenjpegdec.c
index 17312ff..53197b5 100644
--- a/libavcodec/libopenjpegdec.c
+++ b/libavcodec/libopenjpegdec.c
@@ -27,6 +27,7 @@
#define OPJ_STATIC
#include <openjpeg.h>
+#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "libavutil/pixfmt.h"
diff --git a/libavcodec/libopenjpegenc.c b/libavcodec/libopenjpegenc.c
index 93c82cf..ed2ae3a 100644
--- a/libavcodec/libopenjpegenc.c
+++ b/libavcodec/libopenjpegenc.c
@@ -27,6 +27,7 @@
#define OPJ_STATIC
#include <openjpeg.h>
+#include "libavutil/common.h"
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
diff --git a/libavcodec/libschroedinger.c b/libavcodec/libschroedinger.c
index 2046761..68e925c 100644
--- a/libavcodec/libschroedinger.c
+++ b/libavcodec/libschroedinger.c
@@ -24,6 +24,7 @@
*/
#include "libschroedinger.h"
+#include "libavutil/mem.h"
static const SchroVideoFormatInfo ff_schro_video_format_info[] = {
{ 640, 480, 24000, 1001},
diff --git a/libavcodec/libschroedingerdec.c b/libavcodec/libschroedingerdec.c
index 7d942e7..110e8d0 100644
--- a/libavcodec/libschroedingerdec.c
+++ b/libavcodec/libschroedingerdec.c
@@ -27,8 +27,12 @@
* (http://dirac.sourceforge.net/specification.html).
*/
+#include <string.h>
+
#include "libavutil/imgutils.h"
+#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
+#include "libavutil/mem.h"
#include "avcodec.h"
#include "libschroedinger.h"
diff --git a/libavcodec/libxavs.c b/libavcodec/libxavs.c
index 0e1c386..6cfb136 100644
--- a/libavcodec/libxavs.c
+++ b/libavcodec/libxavs.c
@@ -28,6 +28,8 @@
#include <xavs.h>
#include "avcodec.h"
#include "internal.h"
+#include "libavutil/internal.h"
+#include "libavutil/mem.h"
#include "libavutil/opt.h"
#define END_OF_STREAM 0x001
diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c
index 606c5e2..2f4e47c 100644
--- a/libavfilter/vf_frei0r.c
+++ b/libavfilter/vf_frei0r.c
@@ -26,9 +26,15 @@
#include <dlfcn.h>
#include <frei0r.h>
+#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
+#include "config.h"
#include "libavutil/avstring.h"
#include "libavutil/imgutils.h"
+#include "libavutil/internal.h"
#include "libavutil/mathematics.h"
+#include "libavutil/mem.h"
#include "libavutil/parseutils.h"
#include "avfilter.h"
#include "formats.h"
diff --git a/libavfilter/vf_libopencv.c b/libavfilter/vf_libopencv.c
index ea6ebe1..fc6dfbc 100644
--- a/libavfilter/vf_libopencv.c
+++ b/libavfilter/vf_libopencv.c
@@ -28,6 +28,7 @@
#include <opencv/cv.h>
#include <opencv/cxcore.h>
#include "libavutil/avstring.h"
+#include "libavutil/common.h"
#include "libavutil/file.h"
#include "avfilter.h"
#include "formats.h"
More information about the ffmpeg-cvslog
mailing list