This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new a881f0a9ad ffplay: only compile bprint_styles() with libass
a881f0a9ad is described below

commit a881f0a9addd3d104b87d4f6b58b111b1d0cfd28
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Sat Oct 24 15:51:53 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Sat Oct 24 15:47:13 2026 +0000

    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 5085396d23..1d9f042eef 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)
 {

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to