ffplay: only compile bprint_styles() with libass

Fixes warning
This commit is contained in:
Michael Niedermayer authored and michaelni committed 2026-10-24 15:47:13 +00:00
1 parent f5f31760f8
commit a881f0a9ad
1 file changed
+2
+2
View File
@@ -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)
{