aboutsummaryrefslogtreecommitdiff
path: root/libavutil/arm
diff options
context:
space:
mode:
authorMåns Rullgård2010-09-09 18:51:45 +0000
committerMåns Rullgård2010-09-09 18:51:45 +0000
commit9275438a19c02264762d550a077bbf83acd63f3f (patch)
tree6fe28bcf94fa6d97578579f251a0f8e9a193be97 /libavutil/arm
parentd222e9f9daeabe499653bc79c9a25b774941e630 (diff)
Clean up av_get_cpu_flag()
Instead of defining functions in per-arch header files included by the main cpu.c, define them normally and call them from the generic one. Originally committed as revision 25084 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/arm')
-rw-r--r--libavutil/arm/cpu.c (renamed from libavutil/arm/cpu.h)8
1 files changed, 2 insertions, 6 deletions
diff --git a/libavutil/arm/cpu.h b/libavutil/arm/cpu.c
index 45ab761406..742c3e498d 100644
--- a/libavutil/arm/cpu.h
+++ b/libavutil/arm/cpu.c
@@ -16,14 +16,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVUTIL_ARM_CPU_H
-#define AVUTIL_ARM_CPU_H
-
+#include "libavutil/cpu.h"
#include "config.h"
-int av_get_cpu_flags(void)
+int ff_get_cpu_flags_arm(void)
{
return HAVE_IWMMXT * AV_CPU_FLAG_IWMMXT;
}
-
-#endif /* AVUTIL_ARM_CPU_H */