[FFmpeg-cvslog] avcodec/samidec: make sure to properly restore parsing context after a tag

Clément Bœsch git at videolan.org
Thu Jan 28 02:28:06 CET 2016


ffmpeg | branch: release/2.4 | Clément Bœsch <u at pkh.me> | Fri Mar  6 20:39:45 2015 +0100| [2b2943e1ef804d120e8aa58424d0c13ac1515c8b] | committer: Andreas Cadhalpun

avcodec/samidec: make sure to properly restore parsing context after a tag

(cherry picked from commit 70082a1e533deed6688938232e6e66abbd62b0fa)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2b2943e1ef804d120e8aa58424d0c13ac1515c8b
---

 libavcodec/samidec.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/samidec.c b/libavcodec/samidec.c
index 39ac608..14dbc5b 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);



More information about the ffmpeg-cvslog mailing list