summaryrefslogtreecommitdiffstats
path: root/libavcodec/samidec.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2015-03-06 20:39:45 +0100
committerClément Bœsch <u@pkh.me>2015-03-06 20:39:45 +0100
commit70082a1e533deed6688938232e6e66abbd62b0fa (patch)
tree315b1269d4c0a8c70d65c94e9b8655e0dd22cdc3 /libavcodec/samidec.c
parentb4d89139fbaf1b03b08f7bfe34e00a0c7718474a (diff)
downloadffmpeg-streaming-70082a1e533deed6688938232e6e66abbd62b0fa.zip
ffmpeg-streaming-70082a1e533deed6688938232e6e66abbd62b0fa.tar.gz
avcodec/samidec: make sure to properly restore parsing context after a tag
Diffstat (limited to 'libavcodec/samidec.c')
-rw-r--r--libavcodec/samidec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/samidec.c b/libavcodec/samidec.c
index 7705f93..47850e2 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);
OpenPOWER on IntegriCloud