[FFmpeg-devel] [PATCH 6/7] avcodec/vorbis_data: Mark symbols as hidden

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Thu Mar 14 01:09:34 EET 2024


Avoids .got entries for ff_vorbis_ch_layouts.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/vorbis_data.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavcodec/vorbis_data.h b/libavcodec/vorbis_data.h
index 51c91c9e04..327e5ab2ef 100644
--- a/libavcodec/vorbis_data.h
+++ b/libavcodec/vorbis_data.h
@@ -21,11 +21,14 @@
 
 #include <stdint.h>
 
+#include "libavutil/attributes_internal.h"
 #include "libavutil/channel_layout.h"
 
+FF_VISIBILITY_PUSH_HIDDEN
 extern const float ff_vorbis_floor1_inverse_db_table[256];
 extern const float * const ff_vorbis_vwin[8];
 extern const uint8_t ff_vorbis_channel_layout_offsets[8][8];
 extern const AVChannelLayout ff_vorbis_ch_layouts[9];
+FF_VISIBILITY_POP_HIDDEN
 
 #endif /* AVCODEC_VORBIS_DATA_H */
-- 
2.40.1



More information about the ffmpeg-devel mailing list