[vlc-devel] [PATCH 8/8] libmp4mux: Pass a value to the initializer-list

Hugo Beauzée-Luyssen hugo at beauzee.fr
Thu Dec 3 16:16:21 CET 2020


A value is mandated by C standard
---
 modules/mux/mp4/libmp4mux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/mux/mp4/libmp4mux.c b/modules/mux/mp4/libmp4mux.c
index be6f3e98f5..dc94af2a9a 100644
--- a/modules/mux/mp4/libmp4mux.c
+++ b/modules/mux/mp4/libmp4mux.c
@@ -777,7 +777,7 @@ static bo_t *GetHvcCTag(const uint8_t *p_extra, size_t i_extra,
         return hvcC;
     }
 
-    struct hevc_dcr_params params = { };
+    struct hevc_dcr_params params = { 0 };
     const uint8_t *p_nal;
     size_t i_nal;
 
-- 
2.29.2



More information about the vlc-devel mailing list