[vlc-commits] [Git][videolan/vlc][master] demux: mkv: fix pci_t button read order

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Sep 18 09:37:10 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
1e8cfea6 by Steve Lhomme at 2026-09-18T09:27:18+00:00
demux: mkv: fix pci_t button read order

It does not match dvdread order after 0916735803bfc09634effd87579f9f61fe744056.

- - - - -


1 changed file:

- modules/demux/mkv/chapter_command_dvd.cpp


Changes:

=====================================
modules/demux/mkv/chapter_command_dvd.cpp
=====================================
@@ -891,14 +891,14 @@ void dvd_command_interpretor_c::SetPci(const uint8_t *data, unsigned size)
         bs_skip(&bs, 2);
         btn.x_end    = bs_read(&bs, 10);
 
-        bs_skip(&bs, 2);
-        btn.up = bs_read(&bs, 6);
-
         btn.auto_action_mode = bs_read(&bs, 2);
         btn.y_start = bs_read(&bs, 10);
         bs_skip(&bs, 2);
         btn.y_end   = bs_read(&bs, 10);
 
+        bs_skip(&bs, 2);
+        btn.up = bs_read(&bs, 6);
+
         bs_skip(&bs, 2);
         btn.down    = bs_read(&bs, 6);
         bs_skip(&bs, 2);



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1e8cfea654aef4c8686f0e2e760df73246579684

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