[vlc-devel] [PATCH 3/8] filter_chain: Fix struct initialization

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


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

diff --git a/src/misc/filter_chain.c b/src/misc/filter_chain.c
index baa2f9684c..82068f3ff2 100644
--- a/src/misc/filter_chain.c
+++ b/src/misc/filter_chain.c
@@ -158,7 +158,7 @@ filter_chain_t *filter_chain_NewVideo( vlc_object_t *obj, bool allow_change,
         chain->parent_video_owner = *owner;
     }
     else
-        chain->parent_video_owner = (filter_owner_t){};
+        chain->parent_video_owner = (filter_owner_t){0};
     return chain;
 }
 
-- 
2.29.2



More information about the vlc-devel mailing list