[vlc-commits] [Git][videolan/vlc][master] es_out: initialize `mouse_being_dragged`

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Oct 17 09:50:42 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
920e91c1 by Alaric Senat at 2025-10-17T09:24:10+00:00
es_out: initialize `mouse_being_dragged`

This was likely forgotten by 9ed94cc99a70a55ccf7a622ccb2e38541da4999a

Caught by UBSan on first drag:
> es_out.c:359:16: runtime error: load of value 190, which is not a valid value for type '_Bool'

- - - - -


1 changed file:

- src/input/es_out.c


Changes:

=====================================
src/input/es_out.c
=====================================
@@ -2259,6 +2259,7 @@ static es_out_id_t *EsOutAddLocked(es_out_sys_t *p_sys,
     vlc_mouse_Init(&es->oldmouse);
     es->mouse_event_cb = MouseEventCb;
     es->mouse_event_userdata = es;
+    es->mouse_being_dragged = false;
     es->i_pts_level = VLC_TICK_INVALID;
     es->delay = VLC_TICK_MAX;
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/920e91c133cb64cdca37cbc5970921377e2d230b

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/920e91c133cb64cdca37cbc5970921377e2d230b
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