Fix fallout introduced in 732fb122e66, fix compilation with --enable-libfribidi.
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -684,7 +684,7 @@ static int shape_text(AVFilterContext *ctx) · 683 unmodified lines | ||
| 684 | 684 | fribidi_shape(flags, embedding_levels, len, ar_props, unicodestr); |
| 685 | 685 | |
| 686 | 686 | for (line_end = 0, line_start = 0; line_end < len; line_end++) { |
| 687 | − if (is_newline(unicodestr[line_end]) || line_end == len - 1) { | |
| 687 | + if (ff_is_newline(unicodestr[line_end]) || line_end == len - 1) { | |
| 688 | 688 | if (!fribidi_reorder_line(flags, bidi_types, |
| 689 | 689 | line_end - line_start + 1, line_start, |
| 690 | 690 | direction, embedding_levels, unicodestr, |