[vlc-devel] [PATCH 13/14] stream_out: dlna: constify the profile list

Alaric Senat dev.asenat at posteo.net
Fri Mar 19 11:40:08 UTC 2021


---
 modules/stream_out/dlna/profile_names.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/stream_out/dlna/profile_names.hpp b/modules/stream_out/dlna/profile_names.hpp
index a131183f9b..45408f0c47 100644
--- a/modules/stream_out/dlna/profile_names.hpp
+++ b/modules/stream_out/dlna/profile_names.hpp
@@ -167,7 +167,7 @@ const dlna_profile_t default_video_profile = {
     VLC_CODEC_MP4A,
 };
 
-std::vector<dlna_profile_t> dlna_profile_list = {
+static const std::vector<dlna_profile_t> dlna_profile_list = {
 
     default_audio_profile,
     default_video_profile,
-- 
2.29.2



More information about the vlc-devel mailing list