[vlc-commits] decoder: use static

Thomas Guillem git at videolan.org
Sat Sep 2 10:20:30 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Sat Sep  2 10:18:29 2017 +0200| [219aaf1939bd66dbd615e103881233a3d80d7ab4] | committer: Thomas Guillem

decoder: use static

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

 src/input/decoder.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index 1cf2164cc3..d0148a5fac 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -171,7 +171,7 @@ static int LoadDecoder( decoder_t *p_dec, bool b_packetizer,
     /* Find a suitable decoder/packetizer module */
     if( !b_packetizer )
     {
-        const char caps[ES_CATEGORY_COUNT][16] = {
+        static const char caps[ES_CATEGORY_COUNT][16] = {
             [VIDEO_ES] = "video decoder",
             [AUDIO_ES] = "audio decoder",
             [SPU_ES] = "spu decoder",



More information about the vlc-commits mailing list