vlc | branch: master | Francois Cartegnie <[email protected]> | Sat Jan 14 19:47:37 2017 +0100| [b95f6cc2cb2e53fe05701cb61db0dbd059e64225] | committer: Francois Cartegnie
codec: cc: fix incorrect block flags clearing loop flipping between discont & corrupt flags refs #12685 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b95f6cc2cb2e53fe05701cb61db0dbd059e64225 --- modules/codec/cc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/cc.c b/modules/codec/cc.c index 567a88e..eacc3d2 100644 --- a/modules/codec/cc.c +++ b/modules/codec/cc.c @@ -322,7 +322,7 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block ) { Flush( p_dec ); /* clear flags, as we might process it more than once */ - p_sys->p_block->i_flags ^= (BLOCK_FLAG_DISCONTINUITY | BLOCK_FLAG_CORRUPTED); + p_sys->p_block->i_flags &= ~(BLOCK_FLAG_DISCONTINUITY | BLOCK_FLAG_CORRUPTED); continue; } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
