[FFmpeg-cvslog] avcodec/vorbis_data: Mark symbols as hidden

Andreas Rheinhardt git at videolan.org
Sun Mar 17 17:07:18 EET 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed Mar 13 18:31:19 2024 +0100| [333ff3e98d02b75bc3d4e07f01f62f878beb922c] | committer: Andreas Rheinhardt

avcodec/vorbis_data: Mark symbols as hidden

Avoids .got entries for ff_vorbis_ch_layouts.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=333ff3e98d02b75bc3d4e07f01f62f878beb922c
---

 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 */



More information about the ffmpeg-cvslog mailing list