vlc | branch: master | Marvin Scholz <[email protected]> | Fri Jun 14 20:45:13 
2019 +0200| [8076b327714854bd79c19afc0b97fe5144c27371] | committer: Marvin 
Scholz

video_chroma/swscale: make global variable static

Fixes symbol collisions in static libvlc builds where modules are
statically linked into the app.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8076b327714854bd79c19afc0b97fe5144c27371
---

 modules/video_chroma/swscale.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_chroma/swscale.c b/modules/video_chroma/swscale.c
index fd254bdcdc..3c7bdf78ea 100644
--- a/modules/video_chroma/swscale.c
+++ b/modules/video_chroma/swscale.c
@@ -58,7 +58,7 @@ static void CloseScaler( vlc_object_t * );
 #define SCALEMODE_LONGTEXT N_("Scaling mode to use.")
 
 static const int pi_mode_values[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
-const char *const ppsz_mode_descriptions[] =
+static const char *const ppsz_mode_descriptions[] =
 { N_("Fast bilinear"), N_("Bilinear"), N_("Bicubic (good quality)"),
   N_("Experimental"), N_("Nearest neighbor (bad quality)"),
   N_("Area"), N_("Luma bicubic / chroma bilinear"), N_("Gauss"),

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to