[vlc-commits] demux: ts: fix default decoder sections assembling

Francois Cartegnie git at videolan.org
Wed Jun 21 21:34:37 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jun 21 17:16:45 2017 +0200| [7c9aa809b0dc98c0430d33f0752b66ca710f5565] | committer: Francois Cartegnie

demux: ts: fix default decoder sections assembling

dvbpsi bug of course

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7c9aa809b0dc98c0430d33f0752b66ca710f5565
---

 modules/demux/mpeg/ts_decoders.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/mpeg/ts_decoders.c b/modules/demux/mpeg/ts_decoders.c
index 36fd979908..fec5509017 100644
--- a/modules/demux/mpeg/ts_decoders.c
+++ b/modules/demux/mpeg/ts_decoders.c
@@ -66,6 +66,7 @@ static void ts_dvbpsi_RawSubDecoderGatherSections( dvbpsi_t *p_dvbpsi,
 
     /* Add to linked list of sections */
     (void) dvbpsi_decoder_psi_section_add( DVBPSI_DECODER(p_decoder), p_section );
+    p_decoder->i_last_section_number = p_section->i_last_number;
 
     /* Check if we have all the sections */
     if ( dvbpsi_decoder_psi_sections_completed( DVBPSI_DECODER(p_decoder) ) )



More information about the vlc-commits mailing list