[vlc-commits] subtitle: Fix invalid double increment.
Hugo Beauzée-Luyssen
git at videolan.org
Thu Apr 6 16:26:46 CEST 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Apr 6 16:25:13 2017 +0200| [775de716add17322f24b476439f903a829446eb6] | committer: Hugo Beauzée-Luyssen
subtitle: Fix invalid double increment.
Reported-by: Yannay Livneh <yannayl at checkpoint.com>
Omri Herscovici <omrih at checkpoint.com>
Omer Gull <omergu at checkpoint.com>
> 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' ||
More information about the vlc-commits
mailing list