summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rbcodec/codecs/codecs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/codecs.h b/lib/rbcodec/codecs/codecs.h
index 672b1ded53..4ac5d283dd 100644
--- a/lib/rbcodec/codecs/codecs.h
+++ b/lib/rbcodec/codecs/codecs.h
@@ -258,7 +258,8 @@ extern unsigned char plugin_end_addr[];
258 codec_start, codec_run, &ci }; 258 codec_start, codec_run, &ci };
259/* encoders */ 259/* encoders */
260#define CODEC_ENC_HEADER \ 260#define CODEC_ENC_HEADER \
261 const struct codec_header __header = { \ 261 const struct codec_header __header \
262 __attribute__((visibility("default"))) = { \
262 { CODEC_ENC_MAGIC, TARGET_ID, CODEC_API_VERSION, NULL, NULL }, \ 263 { CODEC_ENC_MAGIC, TARGET_ID, CODEC_API_VERSION, NULL, NULL }, \
263 codec_start, codec_run, &ci, { enc_callback } }; 264 codec_start, codec_run, &ci, { enc_callback } };
264#endif /* SIMULATOR */ 265#endif /* SIMULATOR */