vlc | branch: master | Francois Cartegnie <fcvlc...@free.fr> | Thu Feb  8 
18:27:03 2018 +0100| [004578e6aca7ae3952a7d33f5405e3c998b3cdc8] | committer: 
Francois Cartegnie

demux: ts: fix test & clear

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

 modules/demux/mpeg/ts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c
index 5dd741ae33..eb27d12f04 100644
--- a/modules/demux/mpeg/ts.c
+++ b/modules/demux/mpeg/ts.c
@@ -1135,7 +1135,7 @@ static int Control( demux_t *p_demux, int i_query, 
va_list args )
     {
         unsigned *restrict flags = va_arg(args, unsigned *);
         *flags &= p_sys->updates;
-        p_sys->updates = ~*flags;
+        p_sys->updates &= ~*flags;
         return VLC_SUCCESS;
     }
 

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to