Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

Commit b39e160

Browse files
committed
Fix HEVCe kernel compile error on gcc10
This fixes a "multiple definition" compiler error on gcc10 which defaults to -fno-common. https://gcc.gnu.org/gcc-10/porting_to.html#common Fixes #503 Signed-off-by: U. Artie Eoff <[email protected]>
1 parent c6c7cb5 commit b39e160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gen9_hevc_enc_kernels_binary.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131

3232
#define GEN9_HEVC_ENC_KERNEL_SIZE 149296
3333

34-
const unsigned int gen9_hevc_encoder_kernels[GEN9_HEVC_ENC_KERNEL_SIZE];
34+
extern const unsigned int gen9_hevc_encoder_kernels[GEN9_HEVC_ENC_KERNEL_SIZE];
3535

3636
#endif

0 commit comments

Comments
 (0)