mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-09-19 21:06:42 +00:00
avcodec/samidec: make sure to properly restore parsing context after a tag
(cherry picked from commit 70082a1e53
)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
This commit is contained in:
parent
7e297b4bc6
commit
1a65265131
@ -91,6 +91,7 @@ static int sami_paragraph_to_ass(AVCodecContext *avctx, const char *src)
|
|||||||
break;
|
break;
|
||||||
if (*p == '>')
|
if (*p == '>')
|
||||||
p++;
|
p++;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
if (!av_isspace(*p))
|
if (!av_isspace(*p))
|
||||||
av_bprint_chars(dst, *p, 1);
|
av_bprint_chars(dst, *p, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user