[vlc-commits] cvdsub: set explicitly the SPU block length to VLC_TICK_INVALID
Steve Lhomme
git at videolan.org
Wed Sep 19 11:58:24 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed May 9 15:47:26 2018 +0200| [8ea0e40892ecf59ac6b5499ba688fd6818a23933] | committer: Steve Lhomme
cvdsub: set explicitly the SPU block length to VLC_TICK_INVALID
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8ea0e40892ecf59ac6b5499ba688fd6818a23933
---
modules/codec/cvdsub.c | 2 +-
modules/codec/svcdsub.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/codec/cvdsub.c b/modules/codec/cvdsub.c
index f27343e450..3d93f996e7 100644
--- a/modules/codec/cvdsub.c
+++ b/modules/codec/cvdsub.c
@@ -204,7 +204,7 @@ static block_t *Packetize( decoder_t *p_dec, block_t **pp_block )
if( !(p_spu = Reassemble( p_dec, p_block )) ) return NULL;
p_spu->i_dts = p_spu->i_pts;
- p_spu->i_length = 0;
+ p_spu->i_length = VLC_TICK_INVALID;
return p_spu;
}
diff --git a/modules/codec/svcdsub.c b/modules/codec/svcdsub.c
index 3c35c0751d..c7579b1851 100644
--- a/modules/codec/svcdsub.c
+++ b/modules/codec/svcdsub.c
@@ -201,7 +201,7 @@ static block_t *Packetize( decoder_t *p_dec, block_t **pp_block )
if( !(p_spu = Reassemble( p_dec, p_block )) ) return NULL;
p_spu->i_dts = p_spu->i_pts;
- p_spu->i_length = 0;
+ p_spu->i_length = VLC_TICK_INVALID;
return p_spu;
}
More information about the vlc-commits
mailing list