vlc | branch: master | Francois Cartegnie <fcvlc...@free.fr> | Thu Feb  8 
18:32:04 2018 +0100| [fd80c5a288c376fb6612715440ee8c3d13f14d50] | committer: 
Francois Cartegnie

demux: ogg: fix test & clear

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

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

diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
index 15501eb327..284c0c39a3 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -969,7 +969,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;
         }
         case DEMUX_GET_TITLE:

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

Reply via email to