[vlc-devel] [PATCH 2/8] filter_chain: Fix invalid initialization

Hugo Beauzée-Luyssen hugo at beauzee.fr
Thu Dec 3 16:16:15 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 7f78f95334..baa2f9684c 100644
--- a/src/misc/filter_chain.c
+++ b/src/misc/filter_chain.c
@@ -105,7 +105,7 @@ static picture_t *filter_chain_VideoBufferNew( filter_t *filter )
         // HACK as intermediate filters may not have the same video format as
         // the last one handled by the owner
         filter_owner_t saved_owner = filter->owner;
-        filter->owner = (filter_owner_t) {};
+        filter->owner = (filter_owner_t) {0};
         pic = filter_NewPicture( filter );
         filter->owner = saved_owner;
         if( pic == NULL )
-- 
2.29.2



More information about the vlc-devel mailing list