PR #25418 opened by michaelni URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25418 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25418.patch
Fixes warning >From ac3aea16bed3ff5e35ec98d05e9c93744013b406 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer <[email protected]> Date: Sat, 24 Oct 2026 15:51:53 +0200 Subject: [PATCH] ffplay: only compile bprint_styles() with libass Fixes warning --- fftools/ffplay_list.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fftools/ffplay_list.c b/fftools/ffplay_list.c index 5085396d23a..1d9f042eef4 100644 --- a/fftools/ffplay_list.c +++ b/fftools/ffplay_list.c @@ -328,6 +328,7 @@ static void bprint_ring(AVBPrint *script, int cx, int cy, int r) #define HOVER_COLOR 0xCD444444 #define POPUP_COLOR 0xDF000000 +#if CONFIG_LIBASS static void bprint_styles(AVBPrint *script, const ListLayout *l) { av_bprintf(script, @@ -349,6 +350,7 @@ static void bprint_styles(AVBPrint *script, const ListLayout *l) l->font * 4 / 5, l->font / 16 + 1, l->font * 4 / 5, l->font / 16 + 1, l->font, l->font, l->font / 16 + 1, l->font, l->font, l->font / 16 + 1, l->font * 4 / 5, l->font / 16 + 1); } +#endif static void bprint_header_strip(const ListView *lv, AVBPrint *script, const ListLayout *l) { -- 2.54.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
