subtitle: Fix invalid double increment.
authorHugo Beauzée-Luyssen <hugo@beauzee.fr>
Thu, 6 Apr 2017 14:25:13 +0000 (16:25 +0200)
committerHugo Beauzée-Luyssen <hugo@beauzee.fr>
Thu, 6 Apr 2017 14:26:30 +0000 (16:26 +0200)
Reported-by: Yannay Livneh <yannayl@checkpoint.com>
             Omri Herscovici <omrih@checkpoint.com>
             Omer Gull <omergu@checkpoint.com>

modules/demux/subtitle.c

index 09d552b..43d318f 100644 (file)
@@ -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' ||