aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2015-03-06 20:39:45 +0100
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-01-28 02:09:46 +0100
commit2b2943e1ef804d120e8aa58424d0c13ac1515c8b (patch)
treec371d8ba565e5b9449fe715f565179b061c69063
parent030fed62f4cf51a0e1baf060cc246b43fa684908 (diff)
downloadffmpeg-2b2943e1ef804d120e8aa58424d0c13ac1515c8b.tar.gz
avcodec/samidec: make sure to properly restore parsing context after a tag
(cherry picked from commit 70082a1e533deed6688938232e6e66abbd62b0fa) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-rw-r--r--libavcodec/samidec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/samidec.c b/libavcodec/samidec.c
index 39ac6082bc..14dbc5b33e 100644
--- a/libavcodec/samidec.c
+++ b/libavcodec/samidec.c
@@ -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);