[vlc-commits] demux: ts: fix reading ttml descriptor
Francois Cartegnie
git at videolan.org
Tue Jun 16 14:26:11 CEST 2020
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Jun 16 11:24:52 2020 +0200| [c14cab8b93af2c7147c1d5224f4523772778557a] | committer: Francois Cartegnie
demux: ts: fix reading ttml descriptor
refs #24871
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c14cab8b93af2c7147c1d5224f4523772778557a
---
modules/demux/mpeg/ts_psi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mpeg/ts_psi.c b/modules/demux/mpeg/ts_psi.c
index c93d066629..dbdec34529 100644
--- a/modules/demux/mpeg/ts_psi.c
+++ b/modules/demux/mpeg/ts_psi.c
@@ -739,8 +739,8 @@ static void SetupTTMLExtendedDescriptor( demux_t *p_demux,
{
if( i_data <= 1U || i_data <= 1U + p_data[0] )
goto end;
- p_data += 1 + p_data[0];
i_data -= 1 + p_data[0];
+ p_data += 1 + p_data[0];
}
/* text... finally */
More information about the vlc-commits
mailing list