Browse Source

lavfi/drawtext: fix missed rename of is_newline

Fix fallout introduced in 732fb122e66, fix compilation with
--enable-libfribidi.
Stefano Sabatini 1 năm trước cách đây
mục cha
commit
59686eaf33
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      libavfilter/vf_drawtext.c

+ 1 - 1
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,