vlc/vlc-2.2 | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Thu Apr 6 16:25:13 2017 +0200| [088de76925d330d32e8e4c8c02ee52c8ad2658cf] | committer: Hugo Beauzée-Luyssen
subtitle: Fix invalid double increment. Reported-by: Yannay Livneh <[email protected]> Omri Herscovici <[email protected]> Omer Gull <[email protected]> (cherry picked from commit 775de716add17322f24b476439f903a829446eb6) Signed-off-by: Hugo Beauzée-Luyssen <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=088de76925d330d32e8e4c8c02ee52c8ad2658cf --- modules/demux/subtitle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/demux/subtitle.c b/modules/demux/subtitle.c index ccfc9cf..6470756 100644 --- a/modules/demux/subtitle.c +++ b/modules/demux/subtitle.c @@ -1867,7 +1867,7 @@ static int ParseJSS( demux_t *p_demux, subtitle_t *p_subtitle, int i_idx ) if( ( toupper((unsigned char)*(psz_text + 1 ) ) == 'C' ) || ( toupper((unsigned char)*(psz_text + 1 ) ) == 'F' ) ) { - psz_text++; psz_text++; + psz_text++; break; } if( (*(psz_text + 1 ) ) == 'B' || (*(psz_text + 1 ) ) == 'b' || _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
