[FFmpeg-cvslog] lavfi/drawtext: fix missed rename of is_newline
Stefano Sabatini
git at videolan.org
Wed Jan 3 17:49:45 EET 2024
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Wed Jan 3 16:47:14 2024 +0100| [59686eaf336a71f2e9297f1f2df4587ea9dc76a0] | committer: Stefano Sabatini
lavfi/drawtext: fix missed rename of is_newline
Fix fallout introduced in 732fb122e66, fix compilation with
--enable-libfribidi.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=59686eaf336a71f2e9297f1f2df4587ea9dc76a0
---
libavfilter/vf_drawtext.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c
index c1ea5b90b3..fe7e6ace27 100644
--- a/libavfilter/vf_drawtext.c
+++ b/libavfilter/vf_drawtext.c
@@ -684,7 +684,7 @@ static int shape_text(AVFilterContext *ctx)
fribidi_shape(flags, embedding_levels, len, ar_props, unicodestr);
for (line_end = 0, line_start = 0; line_end < len; line_end++) {
- if (is_newline(unicodestr[line_end]) || line_end == len - 1) {
+ if (ff_is_newline(unicodestr[line_end]) || line_end == len - 1) {
if (!fribidi_reorder_line(flags, bidi_types,
line_end - line_start + 1, line_start,
direction, embedding_levels, unicodestr,
More information about the ffmpeg-cvslog
mailing list