[FFmpeg-cvslog] mips: Move MMI function declarations to a header.
Diego Biurrun
git at videolan.org
Tue Feb 14 02:18:50 CET 2012
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sat Feb 11 21:56:37 2012 +0100| [75f11901b588684dae19eaa9e5896931b30ffdcc] | committer: Diego Biurrun
mips: Move MMI function declarations to a header.
This fixes compilation with -Werror=missing-prototypes.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=75f11901b588684dae19eaa9e5896931b30ffdcc
---
libavcodec/ps2/dsputil_mmi.c | 4 ----
libavcodec/ps2/mmi.h | 8 ++++++++
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/libavcodec/ps2/dsputil_mmi.c b/libavcodec/ps2/dsputil_mmi.c
index 43f0363..06e3bda 100644
--- a/libavcodec/ps2/dsputil_mmi.c
+++ b/libavcodec/ps2/dsputil_mmi.c
@@ -25,10 +25,6 @@
#include "libavcodec/dsputil.h"
#include "mmi.h"
-void ff_mmi_idct_put(uint8_t *dest, int line_size, DCTELEM *block);
-void ff_mmi_idct_add(uint8_t *dest, int line_size, DCTELEM *block);
-void ff_mmi_idct(DCTELEM *block);
-
static void clear_blocks_mmi(DCTELEM * blocks)
{
__asm__ volatile(
diff --git a/libavcodec/ps2/mmi.h b/libavcodec/ps2/mmi.h
index fc8d328..cbd0921 100644
--- a/libavcodec/ps2/mmi.h
+++ b/libavcodec/ps2/mmi.h
@@ -21,6 +21,14 @@
#ifndef AVCODEC_PS2_MMI_H
#define AVCODEC_PS2_MMI_H
+#include <stdint.h>
+
+#include "libavcodec/dsputil.h"
+
+void ff_mmi_idct_put(uint8_t *dest, int line_size, DCTELEM *block);
+void ff_mmi_idct_add(uint8_t *dest, int line_size, DCTELEM *block);
+void ff_mmi_idct(DCTELEM *block);
+
#define align16 __attribute__ ((aligned (16)))
/*
More information about the ffmpeg-cvslog
mailing list