Skip to content
Snippets Groups Projects
Commit 2942431a authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

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: default avatarMichael Niedermayer <michaelni@gmx.at>
parent f06269dd
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment