[vlc-commits] demux-run: missing initializer

Rémi Denis-Courmont git at videolan.org
Wed Jul 24 20:36:12 CEST 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jul 24 21:35:28 2019 +0300| [2b9627173e7d16ea757310bc9081801219eb436a] | committer: Rémi Denis-Courmont

demux-run: missing initializer

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

 test/src/input/demux-run.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/src/input/demux-run.c b/test/src/input/demux-run.c
index 8178756ed6..e6a7449047 100644
--- a/test/src/input/demux-run.c
+++ b/test/src/input/demux-run.c
@@ -241,7 +241,7 @@ static es_out_t *test_es_out_create(vlc_object_t *parent)
 
 static unsigned demux_test_and_clear_flags(demux_t *demux, unsigned flags)
 {
-    unsigned update;
+    unsigned update = flags;
     if (demux_Control(demux, DEMUX_TEST_AND_CLEAR_FLAGS, &update))
         return 0;
     return update;



More information about the vlc-commits mailing list