[vlc-commits] filter_chain: Fix invalid initialization

Hugo Beauzée-Luyssen git at videolan.org
Fri Dec 4 10:43:27 UTC 2020


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Nov 27 08:06:51 2020 -0800| [e44671d6fd633e2f95e4996de6b7d29e5716b588] | committer: Hugo Beauzée-Luyssen

filter_chain: Fix invalid initialization

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

 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 )



More information about the vlc-commits mailing list