vlc | branch: master | Steve Lhomme <rob...@ycbcr.xyz> | Wed May 9 16:14:09 2018 +0200| [c76ae3ab5b52ef6acd68c71d2f1d82ae0d6e9cdb] | committer: Steve Lhomme
subsusf: check the length is not VLC_TICK_INVALID explicitly > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c76ae3ab5b52ef6acd68c71d2f1d82ae0d6e9cdb --- modules/codec/subsusf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/subsusf.c b/modules/codec/subsusf.c index 8b9aef868f..f0876c5cae 100644 --- a/modules/codec/subsusf.c +++ b/modules/codec/subsusf.c @@ -263,7 +263,7 @@ static subpicture_t *ParseText( decoder_t *p_dec, block_t *p_block ) p_spu->i_start = p_block->i_pts; p_spu->i_stop = p_block->i_pts + p_block->i_length; - p_spu->b_ephemer = (p_block->i_length == 0); + p_spu->b_ephemer = (p_block->i_length == VLC_TICK_INVALID); p_spu->b_absolute = false; p_spu->i_original_picture_width = p_sys->i_original_width; p_spu->i_original_picture_height = p_sys->i_original_height; _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits