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

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Gramner <gramner@twoorioles.com>2022-09-30 01:11:29 +0300
committerHenrik Gramner <gramner@twoorioles.com>2022-09-30 18:04:20 +0300
commite4c4af02f3de5e6cea6f81272a2981c0fa7bae28 (patch)
treeaf7c69678a43322235e3abd85fd9cd6433690126 /src/dequant_tables.h
parent58c856b76ad423efe59a518b5f02752354e0d0d8 (diff)
Specify hidden visibility for global data symbol declarations
'-fvisibility=hidden' only applies to definitions, not declarations, so the compiler has to be conservative about how references to global data symbols are performed. Explicitly specifying the visibility allows for better code generation.
Diffstat (limited to 'src/dequant_tables.h')
-rw-r--r--src/dequant_tables.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dequant_tables.h b/src/dequant_tables.h
index 4f55595..1776337 100644
--- a/src/dequant_tables.h
+++ b/src/dequant_tables.h
@@ -32,6 +32,6 @@
#include "src/levels.h"
-extern const uint16_t dav1d_dq_tbl[3][QINDEX_RANGE][2];
+EXTERN const uint16_t dav1d_dq_tbl[3][QINDEX_RANGE][2];
#endif /* DAV1D_SRC_DEQUANT_TABLES_H */