[vlc-commits] spudec: set explicitly the SPU block length to VLC_TICK_INVALID
Steve Lhomme
git at videolan.org
Wed Sep 19 11:58:23 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed May 9 15:36:13 2018 +0200| [7a9493f1b26cf9731df65ea245e4103bdbac973a] | committer: Steve Lhomme
spudec: set explicitly the SPU block length to VLC_TICK_INVALID
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7a9493f1b26cf9731df65ea245e4103bdbac973a
---
modules/codec/spudec/spudec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/spudec/spudec.c b/modules/codec/spudec/spudec.c
index a3c31ee0cb..5b1974ed5a 100644
--- a/modules/codec/spudec/spudec.c
+++ b/modules/codec/spudec/spudec.c
@@ -185,7 +185,7 @@ static block_t *Packetize( decoder_t *p_dec, block_t **pp_block )
}
p_spu->i_dts = p_spu->i_pts;
- p_spu->i_length = 0;
+ p_spu->i_length = VLC_TICK_INVALID;
/* reinit context */
p_sys->i_spu_size = 0;
More information about the vlc-commits
mailing list