[vlc-commits] [Git][videolan/vlc][master] bluray: fix crash consecutive to b42abb9b0ddcf531546eef02fbb823edd12aa2a9

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Jun 25 14:10:38 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
74baf5cd by Steve Lhomme at 2024-06-25T13:39:19+00:00
bluray: fix crash consecutive to b42abb9b0ddcf531546eef02fbb823edd12aa2a9

- - - - -


1 changed file:

- modules/access/bluray.c


Changes:

=====================================
modules/access/bluray.c
=====================================
@@ -1806,11 +1806,11 @@ static void blurayDrawOverlay(demux_t *p_demux, const BD_OVERLAY* const eventov)
     subpicture_region_t *p_reg = NULL;
     subpicture_region_t *found;
     vlc_spu_regions_foreach(found, &ov->regions) {
-        if (p_reg->i_x == eventov->x &&
-            p_reg->i_y == eventov->y &&
-            p_reg->p_picture->format.i_width == eventov->w &&
-            p_reg->p_picture->format.i_height == eventov->h &&
-            p_reg->p_picture->format.i_chroma == VLC_CODEC_YUVP)
+        if (found->i_x == eventov->x &&
+            found->i_y == eventov->y &&
+            found->p_picture->format.i_width == eventov->w &&
+            found->p_picture->format.i_height == eventov->h &&
+            found->p_picture->format.i_chroma == VLC_CODEC_YUVP)
         {
             p_reg = found;
             break;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/74baf5cdbd338446d46bbd05a9f90a56825a2675

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/74baf5cdbd338446d46bbd05a9f90a56825a2675
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