diff options
author | Martin Storsjö <martin@martin.st> | 2012-08-16 14:24:26 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-08-16 16:47:02 +0300 |
commit | 7ebe3962f399dcddc852bda92e595b0152c3701d (patch) | |
tree | 01f695f51b5198df00550fd13769d3cc632f1ad0 | |
parent | 232e35de2e139cc2d34ed67a34dedbbc5da56052 (diff) | |
download | ffmpeg-7ebe3962f399dcddc852bda92e595b0152c3701d.tar.gz |
Add missing includes for code relying on external libraries
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | libavcodec/libopenjpegdec.c | 1 | ||||
-rw-r--r-- | libavcodec/libopenjpegenc.c | 1 | ||||
-rw-r--r-- | libavcodec/libschroedinger.c | 1 | ||||
-rw-r--r-- | libavcodec/libschroedingerdec.c | 4 | ||||
-rw-r--r-- | libavcodec/libxavs.c | 2 | ||||
-rw-r--r-- | libavfilter/vf_frei0r.c | 6 | ||||
-rw-r--r-- | libavfilter/vf_libopencv.c | 1 |
7 files changed, 16 insertions, 0 deletions
diff --git a/libavcodec/libopenjpegdec.c b/libavcodec/libopenjpegdec.c index 17312ffbd4..53197b5f78 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 93c82cf634..ed2ae3ac4a 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 2046761713..68e925cabc 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 7d942e77d0..110e8d0ae1 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 0e1c3869a1..6cfb1366f0 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 606c5e2d32..2f4e47c734 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 ea6ebe1b16..fc6dfbc52e 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" |