vlc | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Thu Apr  6 
16:25:13 2017 +0200| [775de716add17322f24b476439f903a829446eb6] | committer: 
Hugo Beauzée-Luyssen

subtitle: Fix invalid double increment.

Reported-by: Yannay Livneh <[email protected]>
             Omri Herscovici <[email protected]>
             Omer Gull <[email protected]>

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

 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 09d552b..43d318f 100644
--- a/modules/demux/subtitle.c
+++ b/modules/demux/subtitle.c
@@ -1889,7 +1889,7 @@ static int ParseJSS( vlc_object_t *p_obj, 
subs_properties_t *p_props,
             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

Reply via email to