1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00

lavfi/drawtext: fix missed rename of is_newline

Fix fallout introduced in 732fb122e6, fix compilation with
--enable-libfribidi.
This commit is contained in:
Stefano Sabatini 2024-01-03 16:47:14 +01:00
parent 301ed950d1
commit 59686eaf33

View File

@ -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,