[vlc-commits] [Git][videolan/vlc][master] 2 commits: kva: fix compilation

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Wed Dec 31 16:25:11 UTC 2025



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


Commits:
ef285ad1 by KO Myung-Hun at 2025-12-31T16:34:03+01:00
kva: fix compilation

- - - - -
a5f24d14 by KO Myung-Hun at 2025-12-31T16:34:03+01:00
kva: fix doulbe-free

- - - - -


1 changed file:

- modules/video_output/kva.c


Changes:

=====================================
modules/video_output/kva.c
=====================================
@@ -109,7 +109,7 @@ typedef struct vout_display_sys_t
  *****************************************************************************/
 static void            Display(vout_display_t *, picture_t *);
 static int             Control(vout_display_t *, int);
-static int             SetDisplaySize( vout_display_t *, unsigned width, unsigned height )
+static int             SetDisplaySize( vout_display_t *, unsigned width, unsigned height );
 
 static int  OpenDisplay ( vout_display_t *, video_format_t * );
 static void CloseDisplay( vout_display_t * );
@@ -143,7 +143,7 @@ struct open_init
 };
 
 static void Prepare(vout_display_t *vd, picture_t *pic,
-                    const vlc_render_subpicture *subpic, vlc_tick_t date)
+                    const struct vlc_render_subpicture *subpic, vlc_tick_t date)
 {
     VLC_UNUSED(subpic);
     VLC_UNUSED(date);
@@ -517,8 +517,8 @@ static int OpenDisplay( vout_display_t *vd, video_format_t *fmt )
                 fmt->i_chroma = fallback[ i ];
                 break;
             }
-            free( fallback );
         }
+        free( fallback );
     }
 
     if( !b_hw_accel )



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/2e30b3bcb86d26a858a2b0a707904ebc03238fa5...a5f24d140d146b0bff07a974377213f1bf0054aa

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/2e30b3bcb86d26a858a2b0a707904ebc03238fa5...a5f24d140d146b0bff07a974377213f1bf0054aa
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list