From 491fa978290cd3d3b402db83fb5311f74a6bd010 Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Tue, 20 May 2014 12:33:16 +0300 Subject: sputext_decoder: allow attributes in tag --- src/spu_dec/sputext_decoder.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/spu_dec/sputext_decoder.c b/src/spu_dec/sputext_decoder.c index 2bd7dd885..416455b18 100644 --- a/src/spu_dec/sputext_decoder.c +++ b/src/spu_dec/sputext_decoder.c @@ -367,6 +367,13 @@ static int ogm_render_line_internal(sputext_decoder_t *this, int x, int y, const fixme - no teststreams*/ i=i+6; continue; + } else if (!strncasecmp(" */ + const char *end = strchr(text + i, '>'); + if (end) { + i += (end - (text + i)) + 1; + continue; + } } else if (!strncasecmp("", text+i, 7)) { /*Do somethink to enable typing fixme - no teststreams*/ -- cgit v1.2.3