aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-01-04 13:38:25 +0000
committerDiego Biurrun <diego@biurrun.de>2008-01-04 13:38:25 +0000
commit0c89322463ebf3ad2e7a7f003bab823357ba2996 (patch)
tree6abfaae3060921026cfd615341170ff05154a88a /libavcodec
parent1234585facce691c079444a85c7fc83e68344a1d (diff)
downloadffmpeg-0c89322463ebf3ad2e7a7f003bab823357ba2996.tar.gz
Change some files to only include the necessary headers.
Originally committed as revision 11394 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/ppc/dsputil_altivec.c2
-rw-r--r--libavcodec/ppc/dsputil_altivec.h2
-rw-r--r--libavcodec/ppc/fdct_altivec.c2
-rw-r--r--libavcodec/ppc/idct_altivec.c2
4 files changed, 3 insertions, 5 deletions
diff --git a/libavcodec/ppc/dsputil_altivec.c b/libavcodec/ppc/dsputil_altivec.c
index 3871fc87bf..3d79c3ab5d 100644
--- a/libavcodec/ppc/dsputil_altivec.c
+++ b/libavcodec/ppc/dsputil_altivec.c
@@ -24,7 +24,7 @@
#include "gcc_fixes.h"
-#include "dsputil_altivec.h"
+#include "dsputil_ppc.h"
#include "util_altivec.h"
int sad16_x2_altivec(void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h)
diff --git a/libavcodec/ppc/dsputil_altivec.h b/libavcodec/ppc/dsputil_altivec.h
index 1dd32592e6..43bd5ababf 100644
--- a/libavcodec/ppc/dsputil_altivec.h
+++ b/libavcodec/ppc/dsputil_altivec.h
@@ -25,8 +25,6 @@
#include <stdint.h>
-#include "dsputil_ppc.h"
-
extern int has_altivec(void);
void put_pixels16_altivec(uint8_t *block, const uint8_t *pixels, int line_size, int h);
diff --git a/libavcodec/ppc/fdct_altivec.c b/libavcodec/ppc/fdct_altivec.c
index cb9446d391..6b9a35ba80 100644
--- a/libavcodec/ppc/fdct_altivec.c
+++ b/libavcodec/ppc/fdct_altivec.c
@@ -22,7 +22,7 @@
#include "common.h"
#include "dsputil.h"
-#include "dsputil_altivec.h"
+#include "dsputil_ppc.h"
#include "gcc_fixes.h"
diff --git a/libavcodec/ppc/idct_altivec.c b/libavcodec/ppc/idct_altivec.c
index 01c0a12b15..37b2f62c37 100644
--- a/libavcodec/ppc/idct_altivec.c
+++ b/libavcodec/ppc/idct_altivec.c
@@ -42,7 +42,7 @@
#include "gcc_fixes.h"
-#include "dsputil_altivec.h"
+#include "dsputil_ppc.h"
#define vector_s16_t vector signed short
#define const_vector_s16_t const vector signed short