avcodec/samidec: make sure to properly restore parsing context after a tag
authorClément Bœsch <u@pkh.me>
Fri, 6 Mar 2015 19:39:45 +0000 (20:39 +0100)
committerClément Bœsch <u@pkh.me>
Fri, 6 Mar 2015 19:39:45 +0000 (20:39 +0100)
libavcodec/samidec.c

index 7705f93..47850e2 100644 (file)
@@ -91,6 +91,7 @@ static int sami_paragraph_to_ass(AVCodecContext *avctx, const char *src)
                     break;
                 if (*p == '>')
                     p++;
+                continue;
             }
             if (!av_isspace(*p))
                 av_bprint_chars(dst, *p, 1);