[vlc-commits] libmp4mux: Pass a value to the initializer-list
Hugo Beauzée-Luyssen
git at videolan.org
Fri Dec 4 10:43:34 UTC 2020
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Dec 3 03:50:44 2020 -0800| [6d1b2b6edb656a382ad5015f138c2c77b46a3d82] | committer: Hugo Beauzée-Luyssen
libmp4mux: Pass a value to the initializer-list
A value is mandated by C standard
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6d1b2b6edb656a382ad5015f138c2c77b46a3d82
---
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;
More information about the vlc-commits
mailing list