diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 3a2c1acd515888f0edf54a0ce0aeb70328703366..1f2c53e80a004e5b816009da862fcfa122b2db52 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -45,14 +45,12 @@
 #include "aandcttab.h"
 #include "faandct.h"
 #include "faanidct.h"
+#include "ppc/fdct.h"
 #include "x86/fdct.h"
 #include "x86/idct_xvid.h"
 #include "x86/simple_idct.h"
 #include "dctref.h"
 
-// ALTIVEC
-void ff_fdct_altivec(int16_t *block);
-
 // ARM
 void ff_j_rev_dct_arm(int16_t *data);
 void ff_simple_idct_arm(int16_t *data);
diff --git a/libavcodec/ppc/fdctdsp.h b/libavcodec/ppc/fdct.h
similarity index 89%
rename from libavcodec/ppc/fdctdsp.h
rename to libavcodec/ppc/fdct.h
index 89be76846f2847676ee8f8ebf9ab6e2cb8414e7d..437f815258cad39ad9424c9c584f69283fc0c621 100644
--- a/libavcodec/ppc/fdctdsp.h
+++ b/libavcodec/ppc/fdct.h
@@ -16,11 +16,11 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef AVCODEC_PPC_FDCTDSP_H
-#define AVCODEC_PPC_FDCTDSP_H
+#ifndef AVCODEC_PPC_FDCT_H
+#define AVCODEC_PPC_FDCT_H
 
 #include <stdint.h>
 
 void ff_fdct_altivec(int16_t *block);
 
-#endif /* AVCODEC_PPC_FDCTDSP_H */
+#endif /* AVCODEC_PPC_FDCT_H */
diff --git a/libavcodec/ppc/fdctdsp.c b/libavcodec/ppc/fdctdsp.c
index 561e469ab837c9014f353196ed4b7970ae714cfe..c3ebe0d922737e04b24c5bab44d2d5b8b9015988 100644
--- a/libavcodec/ppc/fdctdsp.c
+++ b/libavcodec/ppc/fdctdsp.c
@@ -27,7 +27,7 @@
 #include "libavutil/cpu.h"
 #include "libavutil/ppc/cpu.h"
 #include "libavcodec/fdctdsp.h"
-#include "fdctdsp.h"
+#include "fdct.h"
 
 #if HAVE_ALTIVEC