Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-13 01:04:16 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-09-15 02:52:42 +0400
commita5069caecdc5a58930f9021a0b4f89ecffb320f5 (patch)
treecdf9b0135cc26c5a0b271bd65de4f2e24451958c /libavutil
parentb5e72345a63e04ba45c01fa5c9284ef7c03bc4cf (diff)
arm/intmath: disable av_clip_uintp2_arm with config_small
The code otherwise breaks compilation (gcc 4.5 tested but probably any compiler) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 2942431a0f94ecb77744a772c164ab71711ffe19) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/arm/intmath.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/arm/intmath.h b/libavutil/arm/intmath.h
index 52af66e722..f5a59a6928 100644
--- a/libavutil/arm/intmath.h
+++ b/libavutil/arm/intmath.h
@@ -75,6 +75,7 @@ static av_always_inline av_const int16_t av_clip_int16_arm(int a)
return x;
}
+#if !CONFIG_SMALL //the code below cannot be compiled without always_inline
#define av_clip_uintp2 av_clip_uintp2_arm
static av_always_inline av_const unsigned av_clip_uintp2_arm(int a, int p)
{
@@ -82,7 +83,7 @@ static av_always_inline av_const unsigned av_clip_uintp2_arm(int a, int p)
__asm__ ("usat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p));
return x;
}
-
+#endif //!CONFIG_SMALL
#else /* HAVE_ARMV6 */