[vlc-commits] demux: ogg: fix test & clear
Francois Cartegnie
git at videolan.org
Thu Feb 8 18:32:24 CET 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at 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:
More information about the vlc-commits
mailing list