summaryrefslogtreecommitdiff
path: root/libavutil/float2half.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/float2half.c')
-rw-r--r--libavutil/float2half.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/float2half.c b/libavutil/float2half.c
index c79a3abfa1..1a283956e7 100644
--- a/libavutil/float2half.c
+++ b/libavutil/float2half.c
@@ -20,6 +20,7 @@
void ff_init_float2half_tables(Float2HalfTables *t)
{
+#if !HAVE_FAST_FLOAT16
for (int i = 0; i < 256; i++) {
int e = i - 127;
@@ -50,4 +51,5 @@ void ff_init_float2half_tables(Float2HalfTables *t)
t->shifttable[i|0x100] = 13;
}
}
+#endif
}