aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-08-16 14:24:26 +0300
committerMartin Storsjö <martin@martin.st>2012-08-16 16:47:02 +0300
commit7ebe3962f399dcddc852bda92e595b0152c3701d (patch)
tree01f695f51b5198df00550fd13769d3cc632f1ad0 /libavcodec
parent232e35de2e139cc2d34ed67a34dedbbc5da56052 (diff)
downloadffmpeg-7ebe3962f399dcddc852bda92e595b0152c3701d.tar.gz
Add missing includes for code relying on external libraries
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libopenjpegdec.c1
-rw-r--r--libavcodec/libopenjpegenc.c1
-rw-r--r--libavcodec/libschroedinger.c1
-rw-r--r--libavcodec/libschroedingerdec.c4
-rw-r--r--libavcodec/libxavs.c2
5 files changed, 9 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