[vlc-commits] [Git][videolan/vlc][master] css_style: add some const

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Fri Aug 7 13:04:54 UTC 2026



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
10089bd8 by Steve Lhomme at 2026-08-07T14:53:59+02:00
css_style: add some const

- - - - -


1 changed file:

- modules/codec/webvtt/css_style.c


Changes:

=====================================
modules/codec/webvtt/css_style.c
=====================================
@@ -166,7 +166,7 @@ void webvtt_FillStyleFromCssDeclaration( const vlc_css_declaration_t *p_decl, te
     }
     else if( !strcasecmp( p_decl->psz_property, "font-family" ) )
     {
-        vlc_css_term_t *term;
+        const vlc_css_term_t *term;
         if( term0.type >= TYPE_STRING )
         {
             size_t i_total = 1 + (p_decl->expr->i_count - 1) * 2;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/10089bd8bd09aa3698015a3ab81e48fff0a083fc

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/10089bd8bd09aa3698015a3ab81e48fff0a083fc
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list