diff options
author | Oneric <oneric@oneric.de> | 2024-02-19 22:42:24 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2024-04-06 09:23:51 +0200 |
commit | 7b8b4cdd9654ead881bc61a0b62e1586b473f843 (patch) | |
tree | f19aee7e4a906d4c5456041346ca9f31b110c186 /libavcodec | |
parent | 6f13f5dd59675d76844fc798d90028ab442c2521 (diff) | |
download | ffmpeg-7b8b4cdd9654ead881bc61a0b62e1586b473f843.tar.gz |
avcodec/webvttdec: honour bidi marks
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/webvttdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/webvttdec.c b/libavcodec/webvttdec.c index 690f00dc47..990d150f16 100644 --- a/libavcodec/webvttdec.c +++ b/libavcodec/webvttdec.c @@ -39,7 +39,7 @@ static const struct { {"<u>", "{\\u1}"}, {"</u>", "{\\u0}"}, {"{", "\\{"}, {"}", "\\}"}, // escape to avoid ASS markup conflicts {">", ">"}, {"<", "<"}, - {"‎", ""}, {"‏", ""}, // FIXME: properly honor bidi marks + {"‎", "\xe2\x80\x8e"}, {"‏", "\xe2\x80\x8f"}, {"&", "&"}, {" ", "\\h"}, }; |