]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix bug in subtitle parsing
authorAndreas Öman <andreas@lonelycoder.com>
Thu, 19 Aug 2010 05:29:08 +0000 (05:29 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Thu, 19 Aug 2010 05:29:08 +0000 (05:29 +0000)
src/parsers.c

index 2b9bd54c3ee9cf0fa5c900fc545cf348d7b0e586..9a503f973c94ea054ad88d2867bb6e43248ac7a9 100644 (file)
@@ -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)