summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-03-08 20:17:51 +0000
committerMåns Rullgård <mans@mansr.com>2010-03-08 20:17:51 +0000
commitdd14a04e4a5e05e1fe88ba3acf7029df64344e3c (patch)
tree2177db6c4d0d79f19672a7e1ef7808949344b5c1
parentf89c14027a877187eb99767781bd5b12c7516a2a (diff)
downloadffmpeg-dd14a04e4a5e05e1fe88ba3acf7029df64344e3c.tar.gz
Add missing includes in bfin and sh4 files
Originally committed as revision 22342 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/bfin/dsputil_bfin.h3
-rw-r--r--libavcodec/sh4/dsputil_sh4.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/bfin/dsputil_bfin.h b/libavcodec/bfin/dsputil_bfin.h
index d50bf0424a..7edcf97b6b 100644
--- a/libavcodec/bfin/dsputil_bfin.h
+++ b/libavcodec/bfin/dsputil_bfin.h
@@ -24,6 +24,9 @@
#ifndef AVCODEC_BFIN_DSPUTIL_BFIN_H
#define AVCODEC_BFIN_DSPUTIL_BFIN_H
+#include "config.h"
+#include "libavcodec/dsputil.h"
+
#if defined(__FDPIC__) && CONFIG_SRAM
#define attribute_l1_text __attribute__ ((l1_text))
#define attribute_l1_data_b __attribute__((l1_data_B))
diff --git a/libavcodec/sh4/dsputil_sh4.h b/libavcodec/sh4/dsputil_sh4.h
index cd89196c30..2c1f77c770 100644
--- a/libavcodec/sh4/dsputil_sh4.h
+++ b/libavcodec/sh4/dsputil_sh4.h
@@ -19,6 +19,9 @@
#ifndef AVCODEC_SH4_DSPUTIL_SH4_H
#define AVCODEC_SH4_DSPUTIL_SH4_H
+#include "libavcodec/avcodec.h"
+#include "libavcodec/dsputil.h"
+
void idct_sh4(DCTELEM *block);
void dsputil_init_align(DSPContext* c, AVCodecContext *avctx);