From: Andreas Ă–man Date: Thu, 19 Aug 2010 05:29:08 +0000 (+0000) Subject: Fix bug in subtitle parsing X-Git-Tag: 2.12~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ace8530a057769625a57b3e4befb31e3ddb994c6;p=thirdparty%2Ftvheadend.git Fix bug in subtitle parsing --- diff --git a/src/parsers.c b/src/parsers.c index 2b9bd54c3..9a503f973 100644 --- a/src/parsers.c +++ b/src/parsers.c @@ -1066,6 +1066,7 @@ parse_subtitles(th_transport_t *t, th_stream_t *st, const uint8_t *data, /* Payload unit start */ st->st_parser_state = 1; st->st_buf.sb_err = 0; + st->st_buf.sb_ptr = 0; } if(st->st_parser_state == 0)